View Source Skogsra.Binding behaviour (Skogsrå v2.5.0)
Variable binding behaviour.
Summary
Callbacks
@callback get_env(env :: Skogsra.Env.t(), config :: term()) :: {:ok, term()} | {:error, term()}
Callback for getting an environment variable.
@callback init(env :: Skogsra.Env.t()) :: {:ok, term()} | {:error, term()}
Callback for initializing binding.
Functions
Uses the Skogsra.Binding
behaviour.
@spec get_env(Skogsra.Env.binding(), env :: Skogsra.Env.t()) :: term()