Versions in this module Expand all Collapse all v0 v0.1.1 Dec 15, 2016 v0.1.0 Oct 25, 2016 Changes in this version + func CleanPath(p string) string + type Router struct + HandleMethodNotAllowed bool + HandleOPTIONS bool + MethodNotAllowed fasthttp.RequestHandler + NotFound fasthttp.RequestHandler + PanicHandler func(*fasthttp.RequestCtx, interface{}) + RedirectFixedPath bool + RedirectTrailingSlash bool + func New() *Router + func (r *Router) DELETE(path string, handle fasthttp.RequestHandler) + func (r *Router) GET(path string, handle fasthttp.RequestHandler) + func (r *Router) HEAD(path string, handle fasthttp.RequestHandler) + func (r *Router) Handle(method, path string, handle fasthttp.RequestHandler) + func (r *Router) Handler(ctx *fasthttp.RequestCtx) + func (r *Router) Lookup(method, path string, ctx *fasthttp.RequestCtx) (fasthttp.RequestHandler, bool) + func (r *Router) OPTIONS(path string, handle fasthttp.RequestHandler) + func (r *Router) PATCH(path string, handle fasthttp.RequestHandler) + func (r *Router) POST(path string, handle fasthttp.RequestHandler) + func (r *Router) PUT(path string, handle fasthttp.RequestHandler) + func (r *Router) ServeFiles(path string, rootPath string)