Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootFlags = []cli.Flag{ &cli.StringFlag{ Name: "listen", Aliases: []string{"l"}, Usage: "Bind the local server to this address.", Destination: &listenAddr, Required: false, Value: "127.0.0.1:8080", }, &cli.StringFlag{ Name: "log_level", Aliases: []string{"ll"}, Usage: "Set the log level.", Destination: &logLevel, Required: false, Value: "debug", }, &cli.StringFlag{ Name: "db", Usage: "Set the database connection string.", Destination: &dbConnStr, Required: false, Value: "sqlite3://:memory:", }, &cli.StringFlag{ Name: "config", Aliases: []string{"c"}, Usage: "Set the path to the config file.", Destination: &configPath, Required: false, Value: "", }, }
Functions ¶
func CreateCliApp ¶
func InitConfigAndComponents ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.