Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
Hostname string `json:"Hostname"` // Server name
UseHTTP bool `json:"UseHTTP"` // Listen on HTTP
UseHTTPS bool `json:"UseHTTPS"` // Listen on HTTPS
HTTPPort int `json:"HTTPPort"` // HTTP port
HTTPSPort int `json:"HTTPSPort"` // HTTPS port
CertFile string `json:"CertFile"` // HTTPS certificate
KeyFile string `json:"KeyFile"` // HTTPS private key
}
Server stores the hostname and port number
Click to show internal directories.
Click to hide internal directories.