Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
HTTPServer encapsulates a *http.Server
func NewHTTPServer ¶
func NewHTTPServer(name string, config cfg.Server) (*HTTPServer, error)
NewHTTPServer creates a new HTTPServer object after checking that the configuration is valid
Click to show internal directories.
Click to hide internal directories.