package
1.13.0
Repository: https://github.com/0chain/common.git
Documentation: pkg.go.dev

# Functions

AddConfigPath wraps viper's method.
AddRemoteProvider wraps viper's method.
AddSecureRemoteProvider wraps viper's method.
AllKeys wraps viper's method.
AllSettings wraps viper's method.
BindEnv wraps viper's method.
BindFlagValue wraps viper's method.
BindFlagValues wraps viper's method.
BindPFlag wraps viper's method.
BindPFlags wraps viper's method.
Debug wraps viper's method.
Get wraps viper's method.
GetBool returns the value associated with the key as a boolean.
GetDuration returns the value associated with the key as a duration.
GetFloat64 returns the value associated with the key as a float64.
GetInt returns the value associated with the key as an integer.
GetInt32 returns the value associated with the key as an integer.
GetInt64 returns the value associated with the key as an integer.
GetIntSlice returns the value associated with the key as a slice of int values.
GetSizeInBytes wraps viper's method.
GetString returns the value associated with the key as a string.
GetStringMap returns the value associated with the key as a map of interfaces.
GetStringMapString returns the value associated with the key as a map of strings.
GetStringMapStringSlice returns the value associated with the key as a map to a slice of strings.
GetStringSlice returns the value associated with the key as a slice of strings.
GetTime returns the value associated with the key as time.
GetUint returns the value associated with the key as an unsigned integer.
GetUint32 returns the value associated with the key as an unsigned integer.
GetUint64 returns the value associated with the key as an unsigned integer.
GetViper returns the global viper instance.
InConfig wraps viper's method.
IsSet wraps viper's method.
MergeConfig wraps viper's method.
MergeConfigMap wraps viper's method.
MergeInConfig wraps viper's method.
New returns constructed viper instance.
ReadConfig wraps viper's method.
ReadConfigFile wraps viper's method.
ReadRemoteConfig wraps viper's method.
RegisterAlias wraps viper's method.
SafeWriteConfig wraps viper's method.
SafeWriteConfigAs wraps viper's method.
Set wraps viper's method.
SetDefault wraps viper's method.
Sub wraps viper's method.
Unmarshal wraps viper's method.
UnmarshalExact wraps viper's method.
UnmarshalKey wraps viper's method.
WatchConfig wraps viper's method.
WatchRemoteConfig wraps viper's method.
WatchRemoteConfigOnChannel wraps viper's method.
WriteConfig wraps viper's method.
WriteConfigFile wraps viper's method.

# Variables

SupportedExts describes the supported configuration formats for the wrapper to avoid importing the spf13/viper package.

# Structs

No description provided by the author