SpringConfig v0.1.1 SpringConfig View Source
Consume configuration from a Spring Cloud Config Server in Elixir.
Link to this section Summary
Link to this section Functions
Link to this function
get(key, default \\ nil, opts \\ []) View Source
Finds and returns key
in the configuration registry. If key
is not found, default
is returned.
Available options are:
ensure_started
: UsesApplication.ensure_all_started/2
to start the SpringConfig application temporarily in case the process is not part of the supervision tree. Defaultfalse
.
Link to this function
get!(key, opts \\ []) View Source
Similar to get/3
but raises if key
is not found.