middlewares

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Set

func Set(config *Middlewares)

Types

type Middleware

type Middleware interface {
	Process(ctx *fasthttp.RequestCtx, handler types.RequestHandler) any
}

type Middlewares

type Middlewares struct {
	Http []Middleware
	WS   []Middleware
}

func Get

func Get() *Middlewares

Jump to

Keyboard shortcuts

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