package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Service : sig ... end
module Sig : sig ... end
type key_value = Base.string * Base.string
type t = {
  1. development : key_value Base.list;
  2. test : key_value Base.list;
  3. production : key_value Base.list;
}
val production : t -> key_value Base.list
val development : t -> key_value Base.list
val test : t -> key_value Base.list
val create : development:(Base.string * Base.string) Base.list -> test:(Base.string * Base.string) Base.list -> production:(Base.string * Base.string) Base.list -> Sihl__.Config_core.Config.t
val is_testing : unit -> bool
val is_production : unit -> bool
val read_string_default : default:Base.string -> Base.string -> Base.string
val read_string : ?default:Base.string -> Base.string -> (Base.string, string) Base.result
val read_int : ?default:Base.Int.t -> Base.string -> (Base.Int.t, string) Base.result
val read_bool : ?default:bool -> Base.string -> (bool, string) Base.result
OCaml

Innovation. Community. Security.