Documentation ¶
Overview ¶
Package server contains HTTP servers for the website.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Log is used to log errors and other information Log *log.Logger // Version is used to bust caches of files from older server versions. Version string // HTTPPort is the TCP port for server http requests. All traffic is redirected to the https port. HTTPPort int // HTTPSPORT is the TCP port for server https requests. HTTPSPort int // The public HTTPS certificate file. TLSCertFile string // The private HTTPS key file. TLSKeyFile string }
Config contains fields which describe the server.
Click to show internal directories.
Click to hide internal directories.