Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RESTCommand = &cli.Command{ Name: "rest", Usage: "start a http rest api", Action: runRESTCommand, Flags: []cli.Flag{ &cli.StringFlag{Name: addrProp, Usage: "http rest server listen addr", EnvVars: []string{"ADDR"}, Value: "0.0.0.0:8080"}, &cli.StringFlag{Name: dbNameProp, Usage: "name of the database", EnvVars: []string{"DB_NAME"}, Value: "plotrader.db"}, &cli.StringFlag{Name: dbURIProp, Usage: "uri of the database", EnvVars: []string{"DB_URI"}, Value: "localhost"}, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.