The highest tagged major version is
v4 .
Discover Packages
github.com/zgwit/iot-master/v5
user
package
Version:
v5.0.0-...-67dc7c3
Opens a new window with list of versions in this module.
Published: Oct 25, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Password struct {
Id string `json:"_id" bson:"_id"`
Password string `json:"password"`
}
Password 密码
type Role struct {
Id string `json:"id" xorm:"pk"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Privileges []string `json:"privileges,omitempty"`
Disabled bool `json:"disabled,omitempty"`
Created time .Time `json:"created" xorm:"created"`
}
type User struct {
Id string `json:"_id" bson:"_id"`
Name string `json:"name,omitempty"`
Username string `json:"username,omitempty"`
Admin bool `json:"admin,omitempty"`
Disabled bool `json:"disabled,omitempty"`
Created time .Time `json:"created,omitempty" xorm:"created"`
}
User 用户
Source Files
¶
Click to show internal directories.
Click to hide internal directories.