middlewares

package
v0.3.52 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 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