Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlotGame ¶
type SlotGame struct { mgm.DefaultModel `bson:",inline"` ID string `json:"id" bson:"id"` Time int64 `json:"time" bson:"time"` Numbers []uint `json:"numbers" bson:"numbers"` Win int64 `json:"win" bson:"win"` Proof string `json:"proof" bson:"proof"` Alpha string `json:"alpha" bson:"alpha"` Beta string `json:"beta" bson:"beta"` }
func NewSlotGame ¶
type User ¶
type User struct { mgm.DefaultModel `bson:",inline"` Username string `json:"username" bson:"username"` Email string `json:"email" bson:"email"` Hash string `json:"-" bson:"hash"` FullName string `json:"fullName" bson:"fullName"` Birthdate int64 `json:"birthdate" bson:"bithdate"` Verified byte `json:"verified" bson:"verified"` Banned byte `json:"banned" bson:"banned"` }
func NewUser ¶
NewUser creates a new user with the given details. IMPORTANT THIS DOES NOT SAVE OR HASH THE PASSWORD. This has to be done seperatly
func (*User) GetBirthdate ¶
Click to show internal directories.
Click to hide internal directories.