Documentation ¶
Index ¶
- func Get(key string) string
- func GetArray(key string) []string
- func GetBool(key string) bool
- func GetBoolArray(key string) []bool
- func GetBytes(key string) []byte
- func GetDuration(key string) time.Duration
- func GetDurationArray(key string) []time.Duration
- func GetEnvArray(key string, each func(string) error) bool
- func GetFloat(key string) float64
- func GetFloatArray(key string) []float64
- func GetInt(key string) int
- func GetInt64(key string) int64
- func GetInt64Array(key string) []int64
- func GetIntArray(key string) []int
- func GetSize(key string) bytesize.Size
- func GetSizeArray(key string) []bytesize.Size
- func GetTime(key string) time.Time
- func GetTimeArray(key string) []time.Time
- func GetUint(key string) uint
- func GetUint64(key string) uint64
- func GetUint64Array(key string) []uint64
- func GetUintArray(key string) []uint
- func Set(key string, value string)
- func SetArray(key string, value []string)
- func SetBool(key string, value bool)
- func SetBoolArray(key string, value []bool)
- func SetBytes(key string, value []byte)
- func SetDuration(key string, value time.Duration)
- func SetDurationArray(key string, value []time.Duration)
- func SetEnvArray(key string, append func(*bytes.Buffer, int), len int)
- func SetFloat(key string, value float64)
- func SetFloatArray(key string, value []float64)
- func SetInt(key string, value int)
- func SetInt64(key string, value int64)
- func SetInt64Array(key string, value []int64)
- func SetIntArray(key string, value []int)
- func SetSize(key string, value bytesize.Size)
- func SetSizeArray(key string, value []bytesize.Size)
- func SetTime(key string, value time.Time)
- func SetTimeArray(key string, value []time.Time)
- func SetUint(key string, value uint)
- func SetUint64(key string, value uint64)
- func SetUint64Array(key string, value []uint64)
- func SetUintArray(key string, value []uint)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBoolArray ¶
func GetDuration ¶
func GetDurationArray ¶
func GetEnvArray ¶
GetEnvArray gets env var and splits a slice formatted string i.e. `["hello world", key2 key3, "\"quoted\" key"]`.
func GetFloatArray ¶
func GetInt64Array ¶
func GetIntArray ¶
func GetSizeArray ¶
func GetSizeArray(key string) []bytesize.Size
func GetTimeArray ¶
func GetUint64Array ¶
func GetUintArray ¶
func SetBoolArray ¶
func SetDuration ¶
func SetDurationArray ¶
func SetEnvArray ¶
func SetFloatArray ¶
func SetInt64Array ¶
func SetIntArray ¶
func SetSizeArray ¶
func SetSizeArray(key string, value []bytesize.Size)
func SetTimeArray ¶
func SetUint64Array ¶
func SetUintArray ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.