Documentation
¶
Index ¶
- type Router
- func (r *Router) Group(pattern string, fn func(*Router))
- func (r *Router) Handle(pattern string, handler http.Handler)
- func (r *Router) HandleFunc(pattern string, handlerFunc http.HandlerFunc)
- func (r *Router) Pipe(middleware func(http.Handler) http.Handler)
- func (r *Router) ServeHTTP(res http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) HandleFunc ¶
func (r *Router) HandleFunc(pattern string, handlerFunc http.HandlerFunc)
Click to show internal directories.
Click to hide internal directories.