Packages

Live config supporting many different backends. **Kungfuig** (_pronounced:_ [ˌkʌŋˈfig]) provides a drastically easy way to plug live configuration into everything. It provides backends for `env` and `system` and supports custom backends.

Current section

Files

Jump to
kungfuig lib kungfuig callback.ex
Raw

lib/kungfuig/callback.ex

defmodule Kungfuig.Callback do
@moduledoc """
The behaviour defining the dynamic config provider’s callback.
`Kungfuig ` accepts callbacks in several forms, see `t:Kungfuig.callback/0`.
"""
@doc """
The callback to be used for subscribing to config updates.
"""
@callback handle_config_update(Kungfuig.config()) :: :ok
end