Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeName ¶
Types ¶
type BasicNumberOf ¶
type BasicNumberOf struct { InternalPlayerId string `gorethink:"ip" json:"-"` Champion string `gorethink:"c" json:"c"` TimePeriod string `gorethink:"p" json:"p"` Queue string `gorethink:"q" json:"q"` Wins int `gorethink:"w" json:"w"` Losses int `gorethink:"l" json:"l"` TimePlayed int `gorethink:"t" json:"t"` Kills int `gorethink:"k" json:"k"` Assists int `gorethink:"a" json:"a"` Deaths int `gorethink:"d" json:"d"` GoldEarned int `gorethink:"g" json:"g"` MinionsKilled int `gorethink:"m" json:"m"` MonstersKilled int `gorethink:"n" json:"n"` WardsPlaced int `gorethink:"wp" json:"wp"` }
type DetailedNumberOf ¶
type DetailedNumberOf struct { InternalPlayerId string `gorethink:"ip" json:"-"` TimePeriod string `gorethink:"p" json:"p"` Queue string `gorethink:"q" json:"q"` Wins int `gorethink:"w" json:"w"` Losses int `gorethink:"l" json:"l"` TimePlayed int `gorethink:"t" json:"t"` Kills int `gorethink:"k" json:"k"` Assists int `gorethink:"a" json:"a"` Deaths int `gorethink:"d" json:"d"` DoubleKills int `gorethink:"dk" json:"dk"` TripleKills int `gorethink:"tk" json:"tk"` QuadraKills int `gorethink:"qk" json:"qk"` PentaKills int `gorethink:"pk" json:"pk"` GoldEarned int `gorethink:"g" json:"g"` MinionsKilled int `gorethink:"m" json:"m"` MonstersKilled int `gorethink:"n" json:"n"` WardsPlaced int `gorethink:"wp" json:"wp"` WardsKilled int `gorethink:"wk" json:"wk"` Blue struct { Wins int `gorethink:"w" json:"w"` Losses int `gorethink:"l" json:"l"` } `gorethink:"b" json:"b"` Red struct { Wins int `gorethink:"w" json:"w"` Losses int `gorethink:"l" json:"l"` } `gorethink:"r" json:"r"` }
type Game ¶
type Game struct { DidWin bool IsOnBlue bool IsNormals bool // AKA Not Custom ChampionId string Duration int Id string Type string Kills int Assists int Deaths int DoubleKills int TripleKills int QuadraKills int PentaKills int GoldEarned int MinionsKilled int MonstersKilled int WardsPlaced int WardsKilled int YearMonth string Date time.Time }
type Player ¶
type Player struct { Region string `gorethink:"r" json:"region"` Tier string `gorethink:"t" json:"-"` SummonerId string `gorethink:"pi" json:"-"` InternalId string `gorethink:"id,omitempty" json:"-"` SummonerName string `gorethink:"sn" json:"summonerName"` NormalizedName string `gorethink:"nn" json:"-"` RecordStart time.Time `gorethink:"rs" json:"-"` // Date of first ever game recorded NextUpdate time.Time `gorethink:"nu" json:"-"` NextLongUpdate time.Time `gorethink:"nl" json:"-"` ProcessedGames []string `gorethink:"p" json:"-"` }
type PlayerData ¶
type PlayerData struct { Detailed []DetailedNumberOf `gorethink:"detailed" json:"detailed"` Basic []BasicNumberOf `gorethink:"basic" json:"basic"` SummonerName string `gorethink:"sn" json:"summonerName"` Region string `gorethink:"r" json:"r"` RecordStart time.Time `gorethink:"rs" json:"-"` RecordStartString string `gorethink:"-" json:"rs"` ProcessedGames []string `gorethink:"p" json:"-"` }
Click to show internal directories.
Click to hide internal directories.