enver v0.2.0 Enver

Documentation for Enver.

Link to this section Summary

Link to this section Types

Link to this type bag_of_functions()
bag_of_functions() :: bof()
Link to this type bof()
bof() :: map()
Link to this type fetch_app_env()
fetch_app_env() :: (:error, :env -> {:ok, map()} | :error)
Link to this type get_sys_env()
get_sys_env() :: (() -> map())
Link to this type invalid()
invalid() :: {:error, String.t()}
Link to this type key()
key() :: String.t()
Link to this type parse_opts()
parse_opts() :: map()
Link to this type parser()
parser() :: (val(), map() -> valid() | invalid())
Link to this type proto_val()
proto_val() :: String.t()
Link to this type type()
type() :: atom()
Link to this type val()
val() :: String.t()

Link to this section Functions

Link to this function fetch_env(key, bof \\ bag_of_functions())
fetch_env(key(), map()) :: valid() | invalid()