package
0.0.0-20230121190442-babb3fc5dc47
Repository: https://github.com/ppanyukov/aspnet-go.git
Documentation: pkg.go.dev
# Functions
NewBuilder create new instance of [config.Builder] implementation.
NewEnvVarsMapSource is same as NewEnvVarsSource except the values come from the user-supplied map.
NewEnvVarsSource creates configuration source from environmental variables in the same way ASP.NET does.
NewJsonSource creates configuration source for Json which implements [config.Source].
# Structs
No description provided by the author
JsonSource implements [config.Source] interface.
# Interfaces
Builder builds a unified [config.Config] object from multiple Sources.
Config is a simplified cut-down version of ASP.NET IConfiguration interface.
Entry is a configuration entry combining key, value and the source of the value.
RootConfig is the main top-level configuration object which aggregates configuration from multiple configuration sources and provides and "effective configuration".
Source is a common interface for types which can provide Config, e.g.