Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize() (err error)
Types ¶
type User ¶
type User struct {
Uuid string `bson:"uuid" json:"uuid"`
Username string `bson:"username" json:"username"`
Fullname string `bson:"fullname" json:"fullname"`
Email string `bson:"email" json:"email"`
Password string `bson:"password" json:"-"`
Admin bool `bson:"admin" json:"admin"`
CustomFields interface{} `bson:"custom_fields" json:"custom_fields"`
}
User struct
func FindByUsernamePassword ¶
func FindByUuid ¶
func (*User) SetMongoInfo ¶ added in v0.9.3
Click to show internal directories.
Click to hide internal directories.