View Source Pow.Config (Pow v1.0.29)
Functions to parse and modify configurations.
Link to this section Summary
Functions
Gets the key value from the configuration.
Merges two configurations.
Puts a new key value to the configuration.
Raise a ConfigError exception.
Retrieves the repo module from the config, or raises an exception.
Retrieves the user schema module from the config, or raises an exception.
Link to this section Types
@type t() :: Keyword.t()
Link to this section Functions
Gets the key value from the configuration.
If not found, it'll fall back to environment config, and lastly to the
default value which is nil
if not specified.
Merges two configurations.
Puts a new key value to the configuration.
Raise a ConfigError exception.
Retrieves the repo module from the config, or raises an exception.
Retrieves the user schema module from the config, or raises an exception.