Documentation
¶
Overview ¶
Package viperconfig provides a viper-based implementation of the config interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfig ¶
func NewConfig(name string, envPrefix string, envKeyReplacer *strings.Replacer) model.BuildableConfig
NewConfig returns a new viper config Deprecated: instead use pkg/config/create.NewConfig or NewViperConfig
func NewViperConfig ¶ added in v0.66.0
func NewViperConfig(name string, envPrefix string, envKeyReplacer *strings.Replacer) model.BuildableConfig
NewViperConfig returns a new Config object.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.