package
0.0.0-20240401192516-e75a48ecdf48
Repository: https://github.com/fredjeck/configserver.git
Documentation: pkg.go.dev
# Functions
InitLogging sets up logging based on the CONFIGSERVER_ENV environment variable.
LoadFrom loads the configuration file from the provided path This method always return a Configuration object with at least the Environment configuration loaded.
# Constants
EnvConfigServerEnvironment holds the name of the environment variable storing the current active environment type (dev, int, prod ...).
EnvConfigServerHome holds the path to the directory containing the application's config.
# Variables
DefaultConfiguration for when its needed.
# Structs
Configuration groups all the supported configuration options.
Environment gathers all the environment variable used by ConfigServer.
Repositories materializes the GIT repositories configuration.
Repository is a single GIT repository configuration.
Server groups all the configserver related settings.