package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Sig : sig ... end
module Service : sig ... end
exception Exception of Base.string
module Status : sig ... end
type t = {
  1. id : Base.string;
  2. value : Base.string;
  3. data : Base.string Base.option;
  4. kind : Base.string;
  5. status : Status.t;
  6. expires_at : Ptime.t;
  7. created_at : Ptime.t;
}
val created_at : t -> Ptime.t
val expires_at : t -> Ptime.t
val status : t -> Status.t
val kind : t -> Base.string
val data : t -> Base.string Base.option
val value : t -> Base.string
val id : t -> Base.string
module Fields : sig ... end
val equal : t -> t -> Ppx_deriving_runtime.bool
val make : id:Base.string -> data:Base.string Base.option -> kind:Base.string -> ?expires_in:Utils.Time.duration -> ?now:Ptime.t -> unit -> t
val alco : t Alcotest.testable
val t : t Caqti_type.t
OCaml

Innovation. Community. Security.