Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LogLevelFlag = cli.UintFlag{ Name: "loglevel", Usage: "Set the log level to `<level>` (0~6). 0:Trace 1:Debug 2:Info 3:Warn 4:Error 5:Fatal 6:MaxLevel", Value: config.DEFAULT_LOG_LEVEL, } ConfigPathFlag = cli.StringFlag{ Name: "cliconfig", Usage: "Server config file `<path>`", Value: config.DEFAULT_CONFIG_FILE_NAME, } NeoPwd = cli.StringFlag{ Name: "neopwd", Usage: "Password for neo chain wallet", Value: "", } RelayPwd = cli.StringFlag{ Name: "relaypwd", Usage: "Password for relay chain wallet", Value: "", } )
Functions ¶
func GetFlagName ¶
GetFlagName deal with short flag, and return the flag name whether flag name have short name
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.