Documentation ¶
Index ¶
- func NewBoolConfig(key string, defaultValue bool) config.Bool
- func NewBytesConfig(key string, defaultValue []byte) config.Bytes
- func NewConfig(key string) config.Config
- func NewDurationConfig(key string, defaultValue time.Duration) config.Duration
- func NewFloat64Config(key string, defaultValue float64) config.Float64
- func NewInt64Config(key string, defaultValue int64) config.Int64
- func NewStringConfig(key string, defaultValue string) config.String
- func NewUint64Config(key string, defaultValue uint64) config.Uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBoolConfig ¶
NewBoolConfig creates a env-based bool config
func NewBytesConfig ¶
NewBytesConfig creates a env-based byte array config
func NewDurationConfig ¶
NewDurationConfig creates a env-based duration config
func NewFloat64Config ¶
NewFloat64Config creates a env-based float64 config
func NewInt64Config ¶
NewInt64Config creates a env-based int64 config
func NewStringConfig ¶
NewStringConfig creates a env-based string config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.