Documentation ¶
Index ¶
- func BindPFlag(key string, flag *pflag.Flag)
- func Bool(environmentVariable string) *boolBuilder
- func Get() *applicationConfigType
- func GetSanatizedDefaultValue(valueDescriptor *Descriptor) string
- func GetSensitiveProtectedValue(valueDescriptor *Descriptor) string
- func Int(environmentVariable string) *intBuilder
- func LoadConfig(values []Value) error
- func Print()
- func Set() *valueSetter
- func String(environmentVariable string) *stringBuilder
- type Descriptor
- type TypeInfo
- type Value
- type ValueType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSanatizedDefaultValue ¶
func GetSanatizedDefaultValue(valueDescriptor *Descriptor) string
func GetSensitiveProtectedValue ¶
func GetSensitiveProtectedValue(valueDescriptor *Descriptor) string
func LoadConfig ¶
Types ¶
type Descriptor ¶
type Value ¶
type Value interface {
Descriptor() *Descriptor
}
Click to show internal directories.
Click to hide internal directories.