package ocsigen-start

Build not yet checked
  1. Overview
  2. Docs
Higher-level library for developing Web and mobile applications with users, registration, notifications, etc

Install

dune-project
 Dependency

Authors

Maintainers

Sources

9.0.0.tar.gz
md5=dfd00a648f0d5f64fcfc893427afc996
sha512=d7c77a9f9b617291ea8c49f4e77fcad8187c39e41d6cb2942ad1c8f45ba620ac261d25a3e75c1b2ce1fd429dad009abb45fab670542e722ab336dc681b99330a

doc/ocsigen-start.server/Os/Types/User/index.html

Module Types.User

type id = int64

Type representing a user ID

val id_of_json : Deriving_Json_lexer.lexbuf -> id
val id_to_json : Buffer.t -> id -> unit
val id_json : id Deriving_Json.t
type t = {
  1. userid : id;
  2. fn : string;
  3. ln : string;
  4. avatar : string option;
  5. language : string option;
}

Type representing a user. See User.

val of_json : Deriving_Json_lexer.lexbuf -> t
val to_json : Buffer.t -> t -> unit
val json : t Deriving_Json.t