# Functions
New creates a new config module.
NewAppNameFromConf reads the name of application from configuration's "name" entry.
NewConfig creates a new *KoanfAdapter.
NewEnv takes in environment string and returns a Env type.
NewEnvFromConf reads the name of application from configuration's "env" entry.
WithAccessor upgrade contract.ConfigUnmarshaler to contract.ConfigAccessor by wrapping the original unmarshaler.
WithDelimiter changes the default delimiter of Koanf.
WithDispatcher changes the default dispatcher of Koanf.
WithProviderLayer is an option for *KoanfAdapter that adds a layer to the bottom of the configuration stack.
WithValidators changes the validators of Koanf.
WithWatcher is an option for *KoanfAdapter that adds a config watcher.
# Constants
development.
local.
production.
staging.
testing.
unknown.
# Structs
CodecParser implements the Parser interface.
ConfigIn is the injection parameter for config.New.
Duration is a type that describe a time duration.
ExportedConfig is a struct that outlines a set of configuration.
KoanfAdapter is an implementation of contract.ConfigUnmarshaler based on Koanf (https://github.com/knadh/koanf).
Module is the configuration module that bundles the reload watcher and exportConfig commands.
ProviderSet is a configuration layer formed by a parser and a provider.
# Type aliases
AppName represents the name the application.
Env is the environment of the application.
MapAdapter implements ConfigUnmarshaler and ConfigRouter.
Option is the functional option type for KoanfAdapter.
Validator is a method to verify if config is valid.