Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (*User) ChangeUserSettings ¶
func (*User) GetUserById ¶
GetUserById(id string) (models.User, error)
type UserScheme ¶
type UserScheme struct { UserName string `bson:"user_name"` FullName string `bson:"full_name"` Password string `bson:"passwd"` Email string `bson:"email"` IsAdmin bool `bson:"is_admin"` Id primitive.ObjectID `bson:"_id"` LastLogin time.Time `bson:"last_login"` CreationDate time.Time `bson:"creation_date"` Settings map[string]string `bson:"settings"` }
Click to show internal directories.
Click to hide internal directories.