Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cli.Command{ Name: "server", Usage: "Start a server with the specified configuration file", Flags: []cli.Flag{ &cli.StringFlag{ Name: "bind-addr", Usage: "Path to the optional configuration file", EnvVars: []string{"PGSTAR_BIND_ADDR"}, Value: "127.0.0.1:5000", }, &cli.StringFlag{ Name: "postgres-config", Usage: "Connection string for postgres connection", EnvVars: []string{"PGSTAR_POSTGRES_CONFIG"}, Required: true, }, &cli.StringFlag{ Name: "ssl-cert", Usage: "Certificate for enabling SSL", EnvVars: []string{"PGSTAR_SSL_CERTIFICATE"}, }, &cli.StringFlag{ Name: "ssl-key", Usage: "Private key to enable SSL", EnvVars: []string{"PGSTAR_SSL_PRIVATE_KEY"}, }, }, Action: main, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.