middleware

package
v4.7.3 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authentication

func Authentication(c *gin.Context)

func CookieSession

func CookieSession() gin.HandlerFunc

func ErrorHandler added in v4.6.3

func ErrorHandler() gin.HandlerFunc

func RateLimiter

func RateLimiter() gin.HandlerFunc

func Recover

func Recover() gin.RecoveryFunc

func SecureHeaders added in v4.6.3

func SecureHeaders() gin.HandlerFunc

Types

type ErrorResponse added in v4.6.3

type ErrorResponse struct {
	Status int
	*reply.JSON
}

Jump to

Keyboard shortcuts

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