Chronik v0.1.1 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 configuration for a given module

Link to this section Functions

Link to this function fetch_adapters() View Source
fetch_adapters() :: {atom, atom} | no_return

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 :: atom, opts :: Keyword.t) ::
  {term, atom} |
  no_return

fetch_config returns the configuration for a given module.