Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config interface { Get(key string) interface{} GetBool(key string) bool GetInt(key string) int GetFloat(key string) float64 GetString(key string) string GetTime(key string) time.Time GetDuration(key string) time.Duration GetViper() *viper.Viper Has(key string) bool Sub(key string) Config AddObserver(o Observer) AddObserverFunc(f func(Config, chan error)) Dump() string Exist() bool }
func NewFilesContainer ¶
NewFilesContainer Initialise configuration container to read files from the FS
Click to show internal directories.
Click to hide internal directories.