Chronik v0.1.2 Chronik.Config View Source
Misc utils
Link to this section Summary
Functions
Chronik
can be configured to use different adapters for the
Store
and the PubSub
. This function returns the configuration
for the application. They can be changed in the config/config.ex
file
fetch_config
returns the adapters configuration for a given module
get_config
a specific configuration for a given module
Link to this section Functions
Chronik
can be configured to use different adapters for the
Store
and the PubSub
. This function returns the configuration
for the application. They can be changed in the config/config.ex
file.
Link to this function
fetch_config(mod, opts)
View Source
fetch_config(mod :: module, opts :: Keyword.t) :: {term, atom} | no_return
fetch_config
returns the adapters configuration for a given module.
Link to this function
get_config(module, key)
View Source
get_config(mod :: module, key :: atom) :: term
get_config
a specific configuration for a given module