confex v3.5.0 Confex.Adapter behaviour
This module provides behaviour for the Confex adapters, that are responsible for fetching raw values from an environment variable or other source.
By default, Confex is supplied with two adapters:
:system
- read configuration from system environment (Confex.Adapters.SystemEnvironment
);:system_file
- read file path from system environment and read configuration from this file (Confex.Adapters.FileFromSystemEnvironment
).
To simplify configuration syntax, Confex allows an alias for adapter names.
Link to this section Summary
Callbacks
Fetch raw configuration value
Link to this section Callbacks
Link to this callback
fetch_value(key)
Fetch raw configuration value.