Versions in this module Expand all Collapse all v1 v1.0.0 Nov 28, 2023 Changes in this version + func NotImplementedError(w http.ResponseWriter) + type Context struct + func (ctx *Context) Request() *http.Request + func (ctx *Context) ResponseWriter() http.ResponseWriter + type Middleware struct + func NewMiddleware(pre http.HandlerFunc, post http.HandlerFunc) *Middleware + func (mdw *Middleware) Handler(h httprouter.Handle) httprouter.Handle + func (mdw *Middleware) Next(m *Middleware) MiddlewareChainNode + func (mdw *Middleware) ServeHTTP(w http.ResponseWriter, r *http.Request) + type MiddlewareChainNode interface + Handler func(h httprouter.Handle) httprouter.Handle + Next func(m *Middleware) MiddlewareChainNode + func NewMiddlewarePipeline() MiddlewareChainNode + type MiddlewarePipeline struct + func (mp *MiddlewarePipeline) HandleHTTP(w http.ResponseWriter, r *http.Request, ps httprouter.Params) + func (mp *MiddlewarePipeline) Handler(h httprouter.Handle) httprouter.Handle + func (mp *MiddlewarePipeline) Next(m *Middleware) MiddlewareChainNode