middleware

package
v0.0.0-...-6cf1638 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MulanPSL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SecretKey = "Easy-Pass-User"

Functions

func Cors

func Cors() gin.HandlerFunc

func JWT

func JWT() gin.HandlerFunc

JWT token验证中间件

func TranslationMiddleware

func TranslationMiddleware() gin.HandlerFunc

设置Translation

Types

This section is empty.

Jump to

Keyboard shortcuts

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