package equinoxe

  1. Overview
  2. Docs

A module to interact with Equinix user.

type id

A unique identifier for a user.

type config = {
  1. id : id;
  2. first_name : string;
  3. last_name : string;
  4. email : string;
  5. created_at : ODate.Unix.t;
  6. last_login_at : ODate.Unix.t;
}

Representation of a user configuration.

val id_of_string : string -> id
val to_string : config -> string

to_string config returns a string representing a user.

val get_current_user : t -> config io

get_current_user t returns the user interacting with the API.

val pp : config -> unit

pp config pretty-prints a user configuration.

OCaml

Innovation. Community. Security.