middlewares

package
v0.0.0-...-54cbf26 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cors

func Cors[T ginContext](c T, method string)

func RequestId

func RequestId[T ginContext]() func(T)

Types

type GinMiddle

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

func NewGinMiddle

func NewGinMiddle(ctx ginContext) *GinMiddle

func (*GinMiddle) Cors

func (g *GinMiddle) Cors(method string)

func (*GinMiddle) RequestId

func (g *GinMiddle) RequestId()

Jump to

Keyboard shortcuts

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