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:"username" bson:"username"` RawPassword string `json:"password"` HashedPassword string `json:"hashedPassword" bson:"hashedPassword"` UserID string `bson:"userID"` Ticket string `json:"ticket"` }
UserData is the strucht that holds all data from user from MongoDB.
Click to show internal directories.
Click to hide internal directories.