Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigByKey ¶
GetConfigByKey read key value from configMap, support `.`
func LoadConfigFromData ¶
LoadConfigFromData read config from []byte, and store it into configMap
func LoadConfigFromFile ¶
LoadConfigFromFile read config from json file
func LoadConfigFromFileAndWatch ¶
func LoadConfigFromFileAndWatch() (err error)
LoadConfigFromFileAndWatch read configuration from json file, and through the -w flag to decide whether to watch the signal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.