Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByTotalScoreAndTime ¶
type ByTotalScoreAndTime []ParticipantView
func (ByTotalScoreAndTime) Len ¶
func (a ByTotalScoreAndTime) Len() int
func (ByTotalScoreAndTime) Less ¶
func (a ByTotalScoreAndTime) Less(i, j int) bool
func (ByTotalScoreAndTime) Swap ¶
func (a ByTotalScoreAndTime) Swap(i, j int)
type Participant ¶
type ParticipantResult ¶
type ParticipantResult struct {
SolutionCount int `bson:"solutionCount"`
LastSolutionId string `bson:"lastSolutionId"`
LastSolution ParticipantResultSolution `bson:"lastSolution"`
}
type ParticipantView ¶
type ParticipantView struct {
TotalScore int
LastSolutionTime int
Raw *Participant
}
Click to show internal directories.
Click to hide internal directories.