Mavbox.Environment_configurationGlobal configuration from environment variables and such.
type 'a var = {name : Internal_pervasives.string;doc : Internal_pervasives.string Internal_pervasives.list;transform : Internal_pervasives.string Internal_pervasives.option -> 'a;}val var :
Internal_pervasives.string ->
doc:Internal_pervasives.string Internal_pervasives.list ->
transform:(Internal_pervasives.string Internal_pervasives.option -> 'a) ->
'b varval var_default :
Internal_pervasives.string ->
doc:Internal_pervasives.string Base__List.t ->
default:Internal_pervasives.string ->
Internal_pervasives.string vartype t = {prefix : Internal_pervasives.string;disabled : Internal_pervasives.bool;default_cors_origin : Internal_pervasives.string Internal_pervasives.option var;better_call_dev_base_url : Internal_pervasives.string var;default_events_level : Internal_pervasives.string Internal_pervasives.option
var;}val default : unit -> ttype 'a state = < env_config : t.. > as 'aval prefix : < env_config : t.. > -> Internal_pervasives.stringval varname : string -> 'a var -> stringval init :
< manpager : Internal_pervasives.Manpage_builder.State.t.. > ->
t ->
unitval default_cors_origin :
< env_config : t.. > ->
Internal_pervasives.string Internal_pervasives.optionval better_call_dev_base_url :
< env_config : t.. > ->
Internal_pervasives.stringval default_events_level :
< env_config : t.. > ->
Internal_pervasives.string Internal_pervasives.option