config

package
v1.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AllKeys     = _v.AllKeys
	AllSettings = _v.AllSettings

	IsSet    = _v.IsSet
	InConfig = _v.InConfig

	Get                     = _v.Get
	GetString               = _v.GetString
	GetBool                 = _v.GetBool
	GetInt                  = _v.GetInt
	GetUint                 = _v.GetUint
	GetFloat64              = _v.GetFloat64
	GetTime                 = _v.GetTime
	GetDuration             = _v.GetDuration
	GetIntSlice             = _v.GetIntSlice
	GetStringSlice          = _v.GetStringSlice
	GetStringMap            = _v.GetStringMap
	GetStringMapString      = _v.GetStringMapString
	GetStringMapStringSlice = _v.GetStringMapStringSlice
	GetSizeInBytes          = _v.GetSizeInBytes

	Set        = _v.Set
	SetDefault = _v.SetDefault

	BindPFlag      = _v.BindPFlag
	BindPFlags     = _v.BindPFlags
	BindFlagValue  = _v.BindFlagValue
	BindFlagValues = _v.BindFlagValues
)

Functions

func GetStringNotEmpty

func GetStringNotEmpty(keys ...string) string

func UnmarshalKeyTo

func UnmarshalKeyTo[T any](key string) (t T, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL