Module Sihl_cache.PostgreSql
include Sihl.Contract.Cache.Sig
val set : ?ctx:(string * string) list -> (string * string option) -> unit Lwt.tset entryinserts anentryinto the cache storage.entryis a tuple where the first element is the key and the second element is the value. Since the value is an optional,setcan be used to remove a value from the store like so:set ("foo", None). If a key exists already, the value is overwritten with the provided value.
val find : ?ctx:(string * string) list -> string -> string option Lwt.tfind keyreturns the value that is associated withkey.
val register : unit -> Sihl__.Core_container.Service.t
include Sihl__.Core_container.Service.Sig
val lifecycle : Sihl__.Core_lifecycle.lifecycle