Documentation
¶
Overview ¶
Package httpserver implements handy wrap around HTTP server to group common settings and tasks inside single entity.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps HTTP server entity and handy means to simplify work with the entity.
func New ¶
func New(handler http.Handler, address entity.NetAddress) *Server
New creates and initializes new instance of HTTP server.
func (*Server) Notify ¶
Notify reports errors received during start and work of the server. Usually such errors are not recoverable.
Click to show internal directories.
Click to hide internal directories.