Versions in this module Expand all Collapse all v0 v0.5.21 Feb 27, 2021 v0.5.20 Feb 27, 2021 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 gateway.ProxyHandler) + func (g *Group) CONNECT(path string, handler gateway.ProxyHandler) + func (g *Group) DELETE(path string, handler gateway.ProxyHandler) + func (g *Group) GET(path string, handler gateway.ProxyHandler) + func (g *Group) Group(path string) *Group + func (g *Group) HEAD(path string, handler gateway.ProxyHandler) + func (g *Group) Handle(method, path string, handler gateway.ProxyHandler) + func (g *Group) OPTIONS(path string, handler gateway.ProxyHandler) + func (g *Group) PATCH(path string, handler gateway.ProxyHandler) + func (g *Group) POST(path string, handler gateway.ProxyHandler) + func (g *Group) PUT(path string, handler gateway.ProxyHandler) + func (g *Group) TRACE(path string, handler gateway.ProxyHandler) + type Router struct + GlobalOPTIONS gateway.ProxyHandler + HandleMethodNotAllowed bool + HandleOPTIONS bool + MethodNotAllowed gateway.ProxyHandler + NotFound gateway.ProxyHandler + PanicHandler func(*fasthttp.RequestCtx, interface{}) + RedirectFixedPath bool + RedirectTrailingSlash bool + SaveMatchedRoutePath bool + func New() *Router + func (r *Router) ANY(path string, handler gateway.ProxyHandler) + func (r *Router) CONNECT(path string, handler gateway.ProxyHandler) + func (r *Router) DELETE(path string, handler gateway.ProxyHandler) + func (r *Router) GET(path string, handler gateway.ProxyHandler) + func (r *Router) Group(path string) *Group + func (r *Router) HEAD(path string, handler gateway.ProxyHandler) + func (r *Router) Handle(method, path string, handler gateway.ProxyHandler) + func (r *Router) Handler(ctx *fasthttp.RequestCtx, buf *pools.ByteBuffer) + func (r *Router) List() map[string][]string + func (r *Router) Lookup(ctx *fasthttp.RequestCtx) (gateway.ProxyHandler, bool) + func (r *Router) Mutable(v bool) + func (r *Router) OPTIONS(path string, handler gateway.ProxyHandler) + func (r *Router) PATCH(path string, handler gateway.ProxyHandler) + func (r *Router) POST(path string, handler gateway.ProxyHandler) + func (r *Router) PUT(path string, handler gateway.ProxyHandler) + func (r *Router) TRACE(path string, handler gateway.ProxyHandler)