middlewares

package
v0.0.0-...-22b531f Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cors

func Cors() gin.HandlerFunc

Cors middleware

func ErrorHandle

func ErrorHandle() gin.HandlerFunc

ErrorHandle is a middleware to handle panic

func GloblaRateLimit

func GloblaRateLimit() gin.HandlerFunc

func Jwt

func Jwt() gin.HandlerFunc

Jwt middleware

func LoadMiddlewares

func LoadMiddlewares(r *gin.Engine) *gin.Engine

loads all middlewares, ErrorHandle, Cors

Types

This section is empty.

Jump to

Keyboard shortcuts

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