Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Id bson.ObjectId `json:"id,omitempty" bson:"_id"` Nickname string `json:"nickname"` Email string `json:"email"` Password string `json:"-"` // password hash in passlib format: $hashAlgo[$values]$hexdigest_hash$ Avatar string `json:"avatar,omitempty"` Created time.Time `json:"created,omitempty"` Updated time.Time `json:"updated,omitempty"` Admin bool `json:"admin" bson:"-"` }
type UserList ¶
type UserList struct { pagination.Meta `json:",inline"` Results []*User `json:"results"` }
Click to show internal directories.
Click to hide internal directories.