Documentation ¶
Index ¶
- type Params
- type Router
- func (r *Router) DELETE(path string, handler http.Handler) *Router
- func (r *Router) GET(path string, handler http.Handler) *Router
- func (r *Router) Handler(method string, path string, handler http.Handler) *Router
- func (r *Router) InternalRouter() *httprouter.Router
- func (r *Router) POST(path string, handler http.Handler) *Router
- func (r *Router) PUT(path string, handler http.Handler) *Router
- func (r *Router) ServeHTTP(writer http.ResponseWriter, request *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) InternalRouter ¶
func (r *Router) InternalRouter() *httprouter.Router
Click to show internal directories.
Click to hide internal directories.