middleware

package
v0.0.0-...-d6337b2 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContentType

func ContentType(next http.Handler) http.Handler

Types

type Middleware

type Middleware func(http.Handler) http.Handler

type Set

type Set struct {
	Config *config.ServerConfig
}

func New

func New(conf *config.ServerConfig) *Set

func (*Set) CommonConveyor

func (set *Set) CommonConveyor(h http.Handler, middlewares ...Middleware) http.Handler

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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