Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerCmd ¶
type ServerCmd struct { Port int `help:"port to run http server" default:"8080"` DBServer string `help:"URL to the rqlite API" default:"http://localhost:4001"` Github struct { Key string `help:"key to the application" env:"GITHUB_KEY"` Secret string `help:"secret to the application" env:"GITHUB_SECRET"` Callback string `help:"callback URL to the auth endpoint" env:"GITHUB_CALLBACK" default:"http://localhost:8080/auth/github/callback"` } `embed:"" prefix:"github."` SessionSecret string `help:"used to encrypt the session cookie" env:"SESSION_SECRET" required:""` }
Click to show internal directories.
Click to hide internal directories.