Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Install = cli.Command{ Name: "install", Usage: "Install or upgrade base system configuration and database", Action: InstallServer, Flags: []cli.Flag{ boolFlag("init, i", "Initial database/config install"), boolFlag("migrate, m", "Migrate existing database"), boolFlag("force", "Force initial database/config install despite existing files"), stringFlag("level", "error", "Log level [trace|info|warn|error|fatal]"), }, }
View Source
var Server = cli.Command{ Name: "server", Usage: "Control or query information from server", Action: StartServer, Flags: []cli.Flag{ boolFlag("info", "Dump settings information for webserver"), boolFlag("start", "Start webserver and necessary auxiliary components"), stringFlag("level", "info", "Log level [trace|info|warn|error|fatal]"), }, }
Functions ¶
func InstallServer ¶
func SetupLogger ¶
func SetupLogger(logName, slevel string)
func StartServer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.