fasthttpradix

package
v0.0.0-...-11d1ae0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2021 License: MIT Imports: 3 Imported by: 3

Documentation

Overview

Router capability for fasthttp.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvalidPath

func InvalidPath(ctx *fasthttp.RequestCtx)

func NormPath

func NormPath(str string) string

Types

type Router

type Router struct {
	// contains filtered or unexported fields
}

func (*Router) Handle

func (r *Router) Handle(method string, path string, handler fasthttp.RequestHandler)

func (*Router) RequestHandler

func (r *Router) RequestHandler(ctx *fasthttp.RequestCtx)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL