Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServer ¶
type HTTPServer struct {
// contains filtered or unexported fields
}
HTTPServer encapsulates an http.Server.
func NewHTTPServer ¶
func NewHTTPServer(port *int, handler *http.Handler) *HTTPServer
NewHTTPServer creates a new HTTPServer instance.
func (*HTTPServer) Shutdown ¶
func (h *HTTPServer) Shutdown(timeout time.Duration)
Shutdown HTTPServer
Click to show internal directories.
Click to hide internal directories.