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: uint(layer2config.DEFAULT_LOG_LEVEL), } ConfigfileFlag = cli.StringFlag{ Name: "config", Usage: "specify configfile", Value: "config.json", EnvVar: "CONFIG_FILE", } )
Functions ¶
func CheckLayer2InitAddress ¶
func CheckLayer2InitAddress(cfg *layer2config.Config) error
func GetFlagName ¶
func SetLayer2Config ¶
func SetLayer2Config(ctx *cli.Context) (*layer2config.Config, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.