# Functions
DefaultLoader provides a config loader with all defaults.
GetenvOrDefault wraps os.Getenv, applying a default value if the environment variable "key" is undefined or empty.
Load configuration files.
LoaderForTest provides a default config loader intended to be used by test programs.
LoaderWithSecrets combines configuration files and secrets.
LoadForTest combines configs from a test loader.
LoadWithSecrets combines configuration files from a default loader with config from (unencrypted) secrets.
NewCombinedLoader builds a compound loader considering several Loadable in the provided order.
NewLoader creates a new loader for config files.
SecretsLoader works like the default loader, but includes config files of the form "secrets.{env}.{json|yaml|yml}[.dec]".
ViperSub is a patch over viper.Sub(), to solve issue https://github.com/spf13/viper/issues/801.
WithBasePath defines the folder of the root configuration file.
WithBasePathFromEnv specifies the environment variable to be used to define the search path for configs (default: none).
WithEnvDir defines the path to environment-specific configs, relative to the base path.
WithMute discards any logging occurring inside the config loader.
WithOutput specifies a io.Writer to output logs during config search.
WithRadix defines the radix (base name) of a config file.
WithSearchParentDir enables the search for config files in the folder tree that contains the current working directory.
WithSuffix defines an optional suffix extension to be recognized.
WithWatch enables the configuration watch.
# Variables
DefaultBasePath is the default location of the root config file.
DefaultConfigRadix is the default basename for a configuration file.
DefaultEnvPath is the default folder for environment-specific configurations, relative to the base path.
DefaultPathEnv is the default environment variable used to configure the search path for configurations.
DefaultSecretRadix is the default basename for a secrets file.
DefaultSecretSuffix is the default optional suffix to look for unencrypted secrets.
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author