middleware

package
v0.0.0-...-23bce59 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth() gin.HandlerFunc

权限校验

func Jwt

func Jwt() *jwt.GinJWTMiddleware

func Logger

func Logger() gin.HandlerFunc

Logger 日志中间件

Types

type User

type User struct {
	UserName  string
	LoginTime time.Time
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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