Documentation
¶
Index ¶
Constants ¶
View Source
const EnvViperConfigFile = "KV_VIPER_FILE"
Variables ¶
View Source
var ErrNoBackends = errors.New("no backends configured")
Functions ¶
func MustGetStringMap ¶
Types ¶
type Getter ¶
type Getter interface {
// GetStringMap expected to return nil if key does not exist
GetStringMap(key string) (map[string]interface{}, error)
}
func MergeGetters ¶
func MustFromEnv ¶
func MustFromEnv() Getter
func NewViperFile ¶
Click to show internal directories.
Click to hide internal directories.