Lamina.DSL.provider
You're seeing just the macro
provider
, go back to Lamina.DSL module for more information.
Specs
Defines a provider for the configuration system.
The same as provider/2
, however passes an empty list to the provider's
init/1
function.
Specs
Defines a provider for the configuration system.
Arguments:
module
- the name of a module which implements theLamina.Provider
behaviour.options
- a keyword list of options to be passed to the provider'sinit/1
function.
Example
provider(Lamina.Provider.Env, prefix: "HTTP")