middleware

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Middlewares = &sync.Map{}

Functions

func GetMiddlewares

func GetMiddlewares(keys ...string) gin.HandlersChain

GetMiddlewares get middlewares by keys

func GetVerify

func GetVerify(ctx *gin.Context) security.Verifier

GetVerify 获取当前登录用户

func Init

func Init()

Types

This section is empty.

Jump to

Keyboard shortcuts

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