package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Sig : sig ... end
module Service : sig ... end
module Schedule : sig ... end
type data_map = (Base.string * Base.string) Base.list
type data = (Base.string, Base.string, Base.String.comparator_witness) Base.Map.t
type t
val make : ?expire_date:Ptime.t -> Ptime.t -> t option
val key : t -> string
val data : t -> (string, string, Base.String.comparator_witness) Base.Map.t
val is_expired : Ptime.t -> t -> bool
val data_of_string : string -> (data, string) Stdlib.Result.t
val string_of_data : data -> string
val get : string -> t -> string option
val set : key:string -> value:string -> t -> t
val remove : key:string -> t -> t
val pp : Stdlib.Format.formatter -> t -> unit
val t : t Caqti_type.t
OCaml

Innovation. Community. Security.