middleware

package
v0.0.0-...-5284134 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Casbin

func Casbin(engine *xorm.Engine, conf string) pine.Handler

func Cors

func Cors() pine.Handler

func Limiter

func Limiter(maxBurstSize int) pine.Handler

func Pprof

func Pprof() pine.Handler

func SetGlobalConfigData

func SetGlobalConfigData() pine.Handler

func StatesViz

func StatesViz(app *pine.Application) pine.Handler

func VerifyJwtToken

func VerifyJwtToken() pine.Handler

VerifyJwtToken 验证jwt excludePrefix 需要排除认证的路由前缀

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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