Documentation
¶
Index ¶
- Variables
- func Get[T any](configKey string, processor componego.Processor, env componego.Environment) (T, error)
- func GetOrPanic[T any](configKey string, processor componego.Processor, env componego.Environment) T
- func NewManager() (componego.ConfigProvider, func(componego.Environment, map[string]any) error)
- func ParseConfig(env componego.Environment, options any) (map[string]any, error)
- func ProcessVariables(settings map[string]any) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrConfigManager = xerrors.New("error inside config manager") ErrConfigInit = ErrConfigManager.WithMessage("config init error") ErrConfigGet = ErrConfigManager.WithMessage("config get error") ErrValueNotFound = ErrConfigGet.WithMessage("config value not found") )
Functions ¶
func GetOrPanic ¶
func NewManager ¶
func NewManager() (componego.ConfigProvider, func(componego.Environment, map[string]any) error)
func ParseConfig ¶
func ProcessVariables ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.