Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LogSvrFlag = []cli.Flag{ cli.StringFlag{ Name: "ip, i", Value: "0.0.0.0", Usage: "Service Listen Address", }, cli.IntFlag{ Name: "port, p", Value: 5005, Usage: "Service Listen Port", }, cli.StringFlag{ Name: "storagepath, s", Value: "./logstorage", Usage: "Service log file storage path", }, cli.StringFlag{ Name: "logpath, l", Value: "./log", Usage: "Local log file path", }, cli.StringFlag{ Name: "consul, u", Value: "", Usage: "consul server ip", }, cli.IntFlag{ Name: "cport, c", Value: 0, Usage: "Service Health Check Port", }, } )
Functions ¶
func LogSvrAction ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.