middlewares

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowCors

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

func NewAllowCors

func NewAllowCors(mode, allowHeaders, allowMethods string, allowOrigins []string) *AllowCors

func (*AllowCors) Handle

func (cors *AllowCors) Handle() gin.HandlerFunc

type Middleware

type Middleware interface {
	Handle() gin.HandlerFunc
}

type Pagination

type Pagination struct{}

func (*Pagination) Handle

func (ac *Pagination) Handle() gin.HandlerFunc

Jump to

Keyboard shortcuts

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