package
Version:
v0.0.0-...-0fa5e1c
Opens a new window with list of versions in this module.
Published: May 10, 2022
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Group struct {
Id int64 `json:"id"`
Groupname string `json:"groupname" gorm:"index"`
}
type Permission struct {
Id int64 `json:"id"`
Ptype string `json:"ptype"`
Operator string `json:"operator" gorm:"index"`
Object string `json:"object" gorm:"index"`
Action string `json:"action"`
}
type Token struct {
Id int64 `json:"id"`
Username string `json:"username" gorm:"index"`
Value string `json:"value"`
}
type User struct {
Id int64 `json:"id"`
Username string `json:"username" gorm:"index"`
}
type UserToken struct {
Userid int64 `json:"userid"`
Username string `json:"username"`
Token string `json:"token"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.