package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Feb 12, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AuthMYSQL struct {
}
AuthMYSQL mysql 授权验证器
type AuthUser struct {
ClientID string `gorm:"primary_key;type:varchar(64);not null;"`
UserName string `gorm:"type:varchar(32);not null;index:user_idx;"`
Password string `gorm:"type:varchar(32);not null;"`
CreateAt time.Time
UpdateAt time.Time
}
AuthUser 授权用户表
Source Files
¶
Click to show internal directories.
Click to hide internal directories.