Documentation
¶
Index ¶
- type Router
- func (r *Router) DELETE(route string, h httprouter.Handle)
- func (r *Router) GET(route string, h httprouter.Handle)
- func (r *Router) HEAD(route string, h httprouter.Handle)
- func (r *Router) OPTIONS(route string, h httprouter.Handle)
- func (r *Router) PATCH(route string, h httprouter.Handle)
- func (r *Router) POST(route string, h httprouter.Handle)
- func (r *Router) PUT(route string, h httprouter.Handle)
- func (r *Router) Use(mm ...middleware)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct { *httprouter.Router // contains filtered or unexported fields }
Router is have middleware httprouter
func (*Router) DELETE ¶
func (r *Router) DELETE(route string, h httprouter.Handle)
DELETE is func with middleware
func (*Router) GET ¶
func (r *Router) GET(route string, h httprouter.Handle)
GET is func with middleware
func (*Router) HEAD ¶
func (r *Router) HEAD(route string, h httprouter.Handle)
HEAD is func with middleware
func (*Router) OPTIONS ¶
func (r *Router) OPTIONS(route string, h httprouter.Handle)
OPTIONS is func with middleware
func (*Router) PATCH ¶
func (r *Router) PATCH(route string, h httprouter.Handle)
PATCH is func with middleware
func (*Router) POST ¶
func (r *Router) POST(route string, h httprouter.Handle)
POST is func with middleware
Click to show internal directories.
Click to hide internal directories.