package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Oct 9, 2023
License: MIT
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Admin struct {
gorm.Model
UserName string `gorm:"column:user_name"`
Password string `gorm:"column:password"`
Token string `gorm:"column:token"`
Timeout time.Time `gorm:"column:timeout"`
}
type GetTokenRequest struct {
UserName string `json:"user_name"`
PassWord string `json:"password"`
}
type GetTokenResponse struct {
Ts int64 `json:"Ts"`
Token string `json:"Token"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.