package
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Apr 1, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func CheckPasswordHash(password, hash string) bool
func DropUnusedColumns(DB *gorm.DB, values ...interface{})
type RequestLogin struct {
Username string `json:"username"`
Password string `json:"password"`
}
RequestLogin model info
type ResponseLogin struct {
Token string `json:"token"`
PublicKey string `json:"publickey"`
}
ResponseLogin model info
type Users struct {
Username string `gorm:"primaryKey"`
Email string `gorm:"unique:users_email_key"`
Password string `gorm:""`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.