Documentation ¶
Index ¶
- func GetCommaSeparatedStringEnvVar(envVar string, def []string) []string
- func GetDurationEnvVar(envVar string, def *time.Duration) *time.Duration
- func GetStringEnvVar(envVar string, def *string) *string
- func GetUint64EnvVar(envVar string, def *uint64) *uint64
- func GetUintEnvVar(envVar string, def *uint) *uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCommaSeparatedStringEnvVar ¶
GetCommaSeparatedStringEnvVar returns the given env var key's value split by comma or the default values
func GetDurationEnvVar ¶
GetDurationEnvVar returns the given env var key's value as a Duration or the default value
func GetStringEnvVar ¶
GetStringEnvVar returns the given env var key's value or the default value
func GetUint64EnvVar ¶
GetUint64EnvVar returns the given env var key's value as a uint64 or the default value
func GetUintEnvVar ¶
GetUintEnvVar returns the given env var key's value as a uint or the default value
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.