View Source Hush (hush v1.2.0)

Extensible runtime configuration loader with pluggable providers

Summary

Functions

Is the app running in release mode?

Resolve configuration

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()}