Versions in this module Expand all Collapse all v1 v1.0.0 Dec 16, 2024 Changes in this version + const MethodWild + var MatchedRoutePathParam = fmt.Sprintf("__matchedRoutePath::%s__", bytes.Rand(make([]byte, 15))) + type Group struct + func (g *Group) ANY(path string, handler fasthttp.RequestHandler) + func (g *Group) CONNECT(path string, handler fasthttp.RequestHandler) + func (g *Group) DELETE(path string, handler fasthttp.RequestHandler) + func (g *Group) GET(path string, handler fasthttp.RequestHandler) + func (g *Group) Group(path string) *Group + func (g *Group) HEAD(path string, handler fasthttp.RequestHandler) + func (g *Group) Handle(method, path string, handler fasthttp.RequestHandler) + func (g *Group) OPTIONS(path string, handler fasthttp.RequestHandler) + func (g *Group) PATCH(path string, handler fasthttp.RequestHandler) + func (g *Group) POST(path string, handler fasthttp.RequestHandler) + func (g *Group) PUT(path string, handler fasthttp.RequestHandler) + func (g *Group) ServeFiles(path string, rootPath string) + func (g *Group) ServeFilesCustom(path string, fs *fasthttp.FS) + func (g *Group) TRACE(path string, handler fasthttp.RequestHandler) + type Router struct + DefaultFlow string + GlobalOPTIONS fasthttp.RequestHandler + HandleMethodNotAllowed bool + HandleOPTIONS bool + MethodNotAllowed fasthttp.RequestHandler + NotFound fasthttp.RequestHandler + PanicHandler func(*fasthttp.RequestCtx, interface{}) + RedirectFixedPath bool + RedirectTrailingSlash bool + SaveMatchedRoutePath bool + TraceHandler fasthttp.RequestHandler + TracingFlow string + func New() *Router + func (r *Router) ANY(path string, handler fasthttp.RequestHandler) + func (r *Router) CONNECT(path string, handler fasthttp.RequestHandler) + func (r *Router) DELETE(path string, handler fasthttp.RequestHandler) + func (r *Router) GET(path string, handler fasthttp.RequestHandler) + func (r *Router) Group(path string) *Group + func (r *Router) HEAD(path string, handler fasthttp.RequestHandler) + func (r *Router) Handle(method, path string, handler fasthttp.RequestHandler) + func (r *Router) Handler(ctx *fasthttp.RequestCtx) + func (r *Router) List() map[string][]string + func (r *Router) Lookup(method, path string, ctx *fasthttp.RequestCtx) (fasthttp.RequestHandler, bool) + func (r *Router) Mutable(v bool) + func (r *Router) OPTIONS(path string, handler fasthttp.RequestHandler) + func (r *Router) PATCH(path string, handler fasthttp.RequestHandler) + func (r *Router) POST(path string, handler fasthttp.RequestHandler) + func (r *Router) PUT(path string, handler fasthttp.RequestHandler) + func (r *Router) ServeFiles(path string, rootPath string) + func (r *Router) ServeFilesCustom(path string, fs *fasthttp.FS) + func (r *Router) TRACE(path string, handler fasthttp.RequestHandler)