Documentation ¶
Index ¶
- func GetBool(viperkey string, env string, defaultVal bool) bool
- func GetInt(viperkey string, env string, defaultVal int) int
- func GetString(viperkey string, env string, defaultVal string) string
- func GetStringFromBase64Encoded(viperkey string, env string) string
- func NewConfig(configPath, configName, envPrefix string) *viper.Viper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetString ¶
GetString get integer value in the viper and environment variable with default value
func GetStringFromBase64Encoded ¶
GetStringFromBase64Encoded get string from base64 encoded value in the viper and environment variable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.