Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration interface { Get(key string) interface{} GetBool(key string) bool GetFloat64(key string) float64 GetInt(key string) int GetString(key string) string GetStringMap(key string) map[string]interface{} GetStringMapString(key string) map[string]string GetStringSlice(key string) []string GetTime(key string) time.Time GetDuration(key string) time.Duration IsSet(key string) bool AllSettings() map[string]interface{} }
func New ¶
func New(prefix string, keys KeyList, providers ProviderList) (Configuration, error)
type ProviderList ¶
type ProviderList []Provider
func Providers ¶
func Providers(provs ...Provider) ProviderList
Click to show internal directories.
Click to hide internal directories.