Documentation
¶
Index ¶
- func Get(category string, name string) (interface{}, error)
- func GetAllInitializedModuleList() []string
- func GetHostName() string
- func GetName() string
- func GetOperationType() string
- func InitializeManager(configBasePath string, configInitialMode string, configEnvPrefix string) error
- func IsInitialized() bool
- func ManualLoadConfig(configBasePath string, configName string) error
- func Set(category string, name string, value interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllInitializedModuleList ¶
func GetAllInitializedModuleList() []string
GetAllInitializedModuleList - get list of names that initialized truly
func GetOperationType ¶
func GetOperationType() string
GetOperationType - returns operation type which could be `dev`, `prod`
func InitializeManager ¶
func InitializeManager(configBasePath string, configInitialMode string, configEnvPrefix string) error
InitializeManager - Create a new config manager instance and wait to initialize it
func IsInitialized ¶
func IsInitialized() bool
IsInitialized - iterate over all config wrappers and see all initialised correctly
func ManualLoadConfig ¶
ManualLoadConfig - load manual config from the path and add to the current dict
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.