Documentation ¶
Index ¶
Constants ¶
View Source
const ( Active = iota InActive = iota NoExist = iota //default avatar if no thumb for user DefaultAvatar string = `` /* 2128-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginLog ¶
type User ¶
type User struct { mgodo.BaseModel `bson:",inline"` Identity string `bson:"Identity,omitempty"` Name string `bson:"Name,omitempty"` First string `bson:"First,omitempty"` Last string `bson:"Last,omitempty"` Mail string `bson:"Mail,omitempty"` Depart string `bson:"Depart,omitempty"` Avatar string `bson:"Avatar,omitempty"` IsNotExist bool `bson:"IsNotExist,omitempty"` }
Click to show internal directories.
Click to hide internal directories.