middleware

package
v1.1.1-alpha15 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: Apache-2.0 Imports: 14 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth() gin.HandlerFunc

func CasbinHandler

func CasbinHandler() gin.HandlerFunc

拦截器

func Cors

func Cors() gin.HandlerFunc

Cors 处理跨域请求,支持options访问

func LoadTls

func LoadTls() gin.HandlerFunc

用https把这个中间件在router里面use一下就好

func OperationRecord

func OperationRecord() gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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