Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiServer ¶
type MultiServer struct { HTTPPort int HTTPSPort int CertFile string KeyFile string Logger *log.Logger }
MultiServer lets you create and run an HTTP server that serves over both, HTTP and HTTPS. It is a convenience wrapper around net/http and crypto/tls.
Click to show internal directories.
Click to hide internal directories.