View Source Hush (hush v1.0.2)

Extensible runtime configuration loader with pluggable providers

Link to this section Summary

Functions

Is the app running in release mode?

Resolve configuration

Link to this section Functions

@spec release_mode?() :: boolean()

Is the app running in release mode?

@spec resolve!() :: Keyword.t()

Resolve configuration

When called with resolve!/0 it will default to all loaded applications' configuration. When called with resolve!/1 with the configuration as an argument it will process that.

Link to this function

resolve!(config, options \\ Keyword.new())

View Source
@spec resolve!(Keyword.t(), Keyword.t()) :: Keyword.t()
@spec resolve!(
  {atom(), Keyword.t()},
  Keyword.t()
) :: {atom(), Keyword.t()}