Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Opts ¶
type Opts struct { // Handler is the http.Handler to be used to serve http pages by the server. Handler http.Handler // BindAddress is the address the HTTP server should listen on. BindAddress string // SecureBindAddress is the address the HTTPS server should listen on. SecureBindAddress string // TLS is the TLS configuration for the server. TLS *options.TLS }
Opts contains the information required to set up the server.
Click to show internal directories.
Click to hide internal directories.