View Source amoc_config (amoc v3.0.0-rc2)
Summary
Types
-type error() :: {error, error_type(), reason()}.
-type error_type() :: atom().
-type maybe_module_config() :: {ok, [module_parameter()]} | error().
-type maybe_update_fun() :: update_fun() | fun((_, _) -> any()).
-type maybe_verification_fun() :: verification_fun() | fun((_) -> any()).
-type module_parameter() :: #module_parameter{}.
-type name() :: atom().
-type reason() :: any().
-type value() :: any().
Functions
-spec get(name()) -> any().