Chronik v0.1.10 Chronik.Config View Source

Misc utilities and helpers used by Chronik

Link to this section Summary

Functions

This function returns the configuration for the chronik application. The values can be changed in the configuration environment

Returns the adapter configuration for a given module

Return an configuration value for a given module

Link to this section Functions

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

This function returns the configuration for the chronik application. The values can be changed in the configuration environment.

Link to this function fetch_config(mod, opts) View Source
fetch_config(mod :: module(), opts :: Keyword.t()) ::
  {term(), atom()} | no_return()

Returns the adapter configuration for a given module

Link to this function get_config(module, key, default) View Source
get_config(mod :: module(), key :: atom(), default :: term()) :: term()

Return an configuration value for a given module