Documentation
¶
Index ¶
- type EnvConfig
- func (e EnvConfig) GetEnv(key string) string
- func (e EnvConfig) GetEnvBool(key string) bool
- func (e EnvConfig) GetEnvBoolWithDefault(key string, default_ bool) bool
- func (e EnvConfig) GetEnvWithDefault(key string, default_ string) string
- func (e EnvConfig) GetIntWithDefault(key string, default_ int) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvConfig ¶
type EnvConfig struct{}
func NewEnvConfig ¶
func NewEnvConfig() EnvConfig
func (EnvConfig) GetEnvBool ¶
func (EnvConfig) GetEnvBoolWithDefault ¶ added in v0.15.0
func (EnvConfig) GetEnvWithDefault ¶
Click to show internal directories.
Click to hide internal directories.