package
Version:
v0.0.0-...-312c5a9
Opens a new window with list of versions in this module.
Published: Aug 16, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Auth(r *gin.Engine) *jwt.GinJWTMiddleware
Auth 权限router
RequestUsername 获取请求接口的用户名
type Login struct {
Username string `form:"username" json:"username" binding:"required"`
Password string `form:"password" json:"password" binding:"required"`
}
Login auth用户验证结构体
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.