Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULTE_CONTOROLLER = "controller.yottab.io:443" KEY_USER = "yb-user" KEY_PASSWORD = "yb-pass" KEY_TOKEN = "token" KEY_HOST = "host" APP_NAME = "yb" CONFIG_NAME = "config.json" )
Variables ¶
View Source
var (
//ConfigManualAddress Get config file Path from the flag.
ConfigManualAddress = ""
)
Functions ¶
func UpdateVarByConfigFile ¶
func UpdateVarByConfigFile()
UpdateVarByConfigFile read config file into viper
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.