fasthttpmiddelware

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: MIT Imports: 1 Imported by: 0

README

fasthttp-middleware

Middleware for fasthttp go server

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

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

func New

func New() *Middleware

func (*Middleware) Handler

func (middleware *Middleware) Handler(reqHandler fasthttp.RequestHandler) fasthttp.RequestHandler

func (*Middleware) Use

func (middleware *Middleware) Use(instance MiddlewareInstance)

type MiddlewareInstance

type MiddlewareInstance func(reqHandler fasthttp.RequestHandler) fasthttp.RequestHandler

Jump to

Keyboard shortcuts

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