Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadMatch ¶
func LoadMatch(matchIDs <-chan uint64, loaded chan<- MatchResult)
func LoadNewMatches ¶
Types ¶
type Action ¶
func (*Action) UnmarshalJSON ¶
type Match ¶
type Match struct {
R1ID int `json:"r1_id"`
R2ID int `json:"r2_id"`
R1Name string `json:"r1_name"`
R2Name string `json:"r2_name"`
R1Score int `json:"r1_score"`
R2Score int `json:"r2_score"`
R1Ranking int `json:"r1_ranking"`
R2Ranking int `json:"r2_ranking"`
R1Rating float64 `json:"r1_rating"`
R2Rating float64 `json:"r2_rating"`
R1Time float64 `json:"r1_time"`
R2Time float64 `json:"r2_time"`
Timestamp uint64
Ranked bool
Seed uint64
KFactor int `json:"k_factor"`
State int
Winner int
Data MatchData
}
func (*Match) GridString ¶
func (*Match) SynthString ¶
type MatchRecord ¶
func LoadNewRecords ¶
func LoadNewRecords() ([]MatchRecord, error)
type MatchResult ¶
Click to show internal directories.
Click to hide internal directories.