Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultServer = New()
DefaultServer is the default server used by most top-level functions of this package
Functions ¶
Types ¶
type Server ¶
type Server struct { // Addr is the address to listen on Addr string // TLSKeyPath may hold the path to the PEM encoded private key TLSKeyPath string // TLSCertPath may hold the path to the PEM encoded certificate TLSCertPath string // Server is the underlying HTTP server that should be used Server *http.Server }
Server wraps a http.Server and provides easy configuration by config directives and flags
Click to show internal directories.
Click to hide internal directories.