Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Score ¶
type Score struct { Email string `json:"email"` Kind int `json:"kind"` Detail string `json:"detail"` Score int `json:"score"` }
Score struct for User
type User ¶
type User struct { ID string `json:"id" bson:"id"` Username string `json:"username" bson:"username"` Email string `json:"email" bson:"email"` Password string `json:"password" bson:"password"` IsTeacher bool `json:"is_teacher" bson:"is_teacher"` TotalScore int `json:"total_score" bson:"total_score"` Token string `json:"token"` }
User struct
Click to show internal directories.
Click to hide internal directories.