Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Users map[string]*User
)
???????????
Functions ¶
Types ¶
type User ¶
type User struct { UserId int `orm:"column(user_id);auto"` RegionId int `orm:"column(region_id);null"` Username string `orm:"column(username);size(120)" json:"name"` Password string `orm:"column(password);size(200)"` Email string `orm:"column(email);size(200)"` Tel string `orm:"column(tel);size(11)"` Status int16 `orm:"column(status);null"` Superuser string `orm:"column(superuser);size(2);"` Nickname string `orm:"column(nickname);size(64);"` Sex string `orm:"column(sex);size(10);null"` LastIp string `orm:"column(lastip);size(20);null"` Last_login time.Time `orm:"column(last_login);type(datetime);null"` Wtime time.Time `orm:"column(wtime);type(datetime);null"` }
Superuser = 6 为超级管理员
Click to show internal directories.
Click to hide internal directories.