Documentation ¶
Index ¶
- type Server
- func (s *Server) Connect(pattern string, h http.HandlerFunc)
- func (s *Server) Delete(pattern string, h http.HandlerFunc)
- func (s *Server) Get(pattern string, h http.HandlerFunc)
- func (s *Server) Handle(pattern string, h http.Handler)
- func (s *Server) HandleFunc(pattern string, h http.HandlerFunc)
- func (s *Server) Head(pattern string, h http.HandlerFunc)
- func (s *Server) Method(method, pattern string, h http.Handler)
- func (s *Server) MethodFunc(method, pattern string, h http.HandlerFunc)
- func (s *Server) Options(pattern string, h http.HandlerFunc)
- func (s *Server) Patch(pattern string, h http.HandlerFunc)
- func (s *Server) Post(pattern string, h http.HandlerFunc)
- func (s *Server) Put(pattern string, h http.HandlerFunc)
- func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (s *Server) Shutdown(ctx context.Context) error
- func (s *Server) Start() error
- func (s *Server) Trace(pattern string, h http.HandlerFunc)
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
}
func (*Server) HandleFunc ¶
func (s *Server) HandleFunc(pattern string, h http.HandlerFunc)
func (*Server) MethodFunc ¶
func (s *Server) MethodFunc(method, pattern string, h http.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.