Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(key string, fallback ...interface{}) interface{}
Get retrieves a configuration value from the singleton instance
Types ¶
type Configuration ¶
type Configuration interface { SetConfigMap(cm M) *config Set(key string, value interface{}) Get(key string, fallback ...interface{}) interface{} GetAll() M }
func GetInstance ¶
func GetInstance() Configuration
GetInstance returns the singleton instance of config
Click to show internal directories.
Click to hide internal directories.