Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
//config
Title string `help:"Title of this instance" env:"TITLE"`
Port int `help:"Listening port" env:"PORT"`
Host string `help:"Listening interface (default all)"`
Auth string `help:"Optional basic auth in form 'user:password'" env:"AUTH"`
ConfigPath string `help:"Configuration file path"`
KeyPath string `help:"TLS Key file path"`
CertPath string `help:"TLS Certicate file path" short:"r"`
Log bool `help:"Enable request logging"`
Open bool `help:"Open now with your default browser"`
// contains filtered or unexported fields
}
Server is the "State" portion of the diagram
Click to show internal directories.
Click to hide internal directories.