Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginAttempt ¶
LoginAttempt is the struct that stores all data from a login attempt.
type UserData ¶
type UserData struct { Username string `json:"user" bson:"username"` Password string `json:"pass" bson:"password"` RepeatPassword string `json:"passcheck"` UserID string `bson:"userID"` HighestScore int `bson:"highest-score"` }
UserData is the strucht that holds all data from user from MongoDB.
Click to show internal directories.
Click to hide internal directories.