Versions in this module Expand all Collapse all v0 v0.1.0 Jun 3, 2018 Changes in this version + const Redirect301 + const Redirect307 + const Redirect308 + const RequestURI + const URLPath + const UseHandler + func Clean(p string) string + func MethodNotAllowedHandler(ctx *fasthttp.RequestCtx, methods map[string]HandlerFunc) + func ShowErrorsJsonPanicHandler(w http.ResponseWriter, r *http.Request, err interface{}) + func ShowErrorsPanicHandler(w http.ResponseWriter, r *http.Request, err interface{}) + func SimplePanicHandler(w http.ResponseWriter, r *http.Request, err interface{}) + type Group struct + func (g *Group) DELETE(path string, handler HandlerFunc) + func (g *Group) GET(path string, handler HandlerFunc) + func (g *Group) HEAD(path string, handler HandlerFunc) + func (g *Group) Handle(method string, path string, handler HandlerFunc) + func (g *Group) NewGroup(path string) *Group + func (g *Group) OPTIONS(path string, handler HandlerFunc) + func (g *Group) PATCH(path string, handler HandlerFunc) + func (g *Group) POST(path string, handler HandlerFunc) + func (g *Group) PUT(path string, handler HandlerFunc) + type HandlerFunc func(*fasthttp.RequestCtx) + type LookupResult struct + StatusCode int + type PanicHandler func(*fasthttp.RequestCtx, interface{}) + type PathSource int + type RedirectBehavior int + type TreeMux struct + DefaultContext context.Context + EscapeAddedRoutes bool + HeadCanUseGet bool + MethodNotAllowedHandler func(ctx *fasthttp.RequestCtx, methods map[string]HandlerFunc) + NotFoundHandler func(ctx *fasthttp.RequestCtx) + OptionsHandler HandlerFunc + PanicHandler PanicHandler + PathSource PathSource + RedirectBehavior RedirectBehavior + RedirectCleanPath bool + RedirectMethodBehavior map[string]RedirectBehavior + RedirectTrailingSlash bool + RemoveCatchAllTrailingSlash bool + SafeAddRoutesWhileRunning bool + func New() *TreeMux + func (t *TreeMux) Dump() string + func (t *TreeMux) Handler(ctx *fasthttp.RequestCtx) + func (t *TreeMux) Lookup(ctx *fasthttp.RequestCtx) (LookupResult, bool) + func (t *TreeMux) ServeLookupResult(ctx *fasthttp.RequestCtx, lr LookupResult)