middleware

package
v0.0.0-...-d827859 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth(c *gin.Context) bool

func AuthMiddleware

func AuthMiddleware(c *gin.Context)

func CheckDefaultPage

func CheckDefaultPage(c *gin.Context)

func CheckLoginPage

func CheckLoginPage(c *gin.Context)

func Cors

func Cors() gin.HandlerFunc

Cors 跨域配置

func JWT

func JWT() 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