Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteConfig ¶
func DeleteConfig(envName, configName string) error
DeleteConfig will delete local config file
func GetConfigsDir ¶
func GetConfigsDir(envName string) (string, error)
GetConfigsDir will get config from dir
func ReadConfig ¶
func ReadConfig(envName, configName string) ([]byte, error)
ReadConfig will read the config data from local
func ReadConfigLine ¶
func ReadConfigLine(line string) (string, string, error)
ReadConfigLine will read config from line
func WriteConfig ¶
func WriteConfig(envName, configName string, data []byte) error
WriteConfig will write data into local config
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.