router

package
v0.0.0-...-1d10f4c Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CLOSE connection action key
	CLOSE = "close"
	// HELLO ..
	HELLO = "hello"
)

Variables

This section is empty.

Functions

func AuthMW

AuthMW ..

func New

func New() *routing.Router

New ...

func NotFoundHandler

func NotFoundHandler(ctx *fasthttp.RequestCtx)

NotFoundHandler ...

func RequestInfo

RequestInfo ...

func TimingMW

TimingMW ..

Types

type Middleware

type Middleware func(ctx fasthttp.RequestHandler) fasthttp.RequestHandler

Middleware ...

type Middlewares

type Middlewares []Middleware

Middlewares ..

func (Middlewares) ApplyToHandler

func (ms Middlewares) ApplyToHandler(handler fasthttp.RequestHandler) fasthttp.RequestHandler

ApplyToHandler ...

Jump to

Keyboard shortcuts

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