Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectAll ¶
func CollectAll(players []Player) (map[Player]PlayerStats, error)
Types ¶
type ApiCompStats ¶
type ApiCompStats struct {
Games ApiGameStats `json:"games"`
}
type ApiGameStats ¶
type ApiRatings ¶
type ApiResult ¶
type ApiResult struct { CompetitiveStats ApiCompStats `json:"competitiveStats"` Ratings []ApiRatings }
type Date ¶
func (Date) MarshalJSON ¶
type PlayerStats ¶
type PlayerStats struct { CollectionDate Date Player Player GamesPlayed int GamesWon int TankLevel int DamageLevel int SupportLevel int }
func CollectUser ¶
func CollectUser(player Player) (PlayerStats, error)
Click to show internal directories.
Click to hide internal directories.