Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultHandler ¶
DefaultHandler returns a simple request handler that replies to each request with an info page.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server provides methods to run an HTTP server with custom handlers.
func (*Server) AddHandler ¶
AddHandler adds an HTTP Handler for a given route.
func (*Server) ListenAndServe ¶
func (s *Server) ListenAndServe()
ListenAndServe is running the HTTP Server.
Click to show internal directories.
Click to hide internal directories.