Documentation ¶
Index ¶
- func LoggingHandler(next http.Handler) http.Handler
- func Perform(middlewares ...func(http.Handler) http.Handler) middlewares
- func RecoveryHandler(next http.Handler) http.Handler
- type Router
- func (r *Router) Delete(path string, handler http.Handler)
- func (r *Router) Get(path string, handler http.Handler)
- func (r *Router) Head(path string, handler http.Handler)
- func (r *Router) Options(path string, handler http.Handler)
- func (r *Router) Patch(path string, handler http.Handler)
- func (r *Router) Post(path string, handler http.Handler)
- func (r *Router) Put(path string, handler http.Handler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Router ¶
type Router struct {
*httprouter.Router
}
Click to show internal directories.
Click to hide internal directories.