Versions in this module Expand all Collapse all v0 v0.0.1 Apr 13, 2019 Changes in this version + type Backend struct + func NewBackend(cfg config.MongoBackend) (*Backend, error) + func (b *Backend) GetChampionStatsByChampionIDGameVersionTierQueue(championID, gameVersion, tier, queue string) (*storage.ChampionStatsStorage, error) + func (b *Backend) GetChampionStatsSummaryByGameVersionTierQueue(gameVersion, tier, queue string) (*storage.ChampionStatsSummaryStorage, error) + func (b *Backend) GetChampions() (riotclient.ChampionsList, error) + func (b *Backend) GetChampionsCount() (uint64, error) + func (b *Backend) GetChampionsTimeStamp() time.Time + func (b *Backend) GetFreeRotation() (*riotclient.FreeRotation, error) + func (b *Backend) GetFreeRotationTimeStamp() time.Time + func (b *Backend) GetItemStatsByChampionIDGameVersion(championID, gameVersion string) (*storage.ItemStatsStorage, error) + func (b *Backend) GetKnownGameVersions() (*storage.GameVersions, error) + func (b *Backend) GetLeagueByQueue(league string, queue string) (*riotclient.LeagueListDTO, error) + func (b *Backend) GetLeagueByQueueTimeStamp(league string, queue string) (time.Time, error) + func (b *Backend) GetLeaguesForSummoner(summonerName string) (*storage.SummonerLeagues, error) + func (b *Backend) GetLeaguesForSummonerBySummonerID(summonerID string) (*storage.SummonerLeagues, error) + func (b *Backend) GetLeaguesForSummonerBySummonerIDTimeStamp(summonerID string) (time.Time, error) + func (b *Backend) GetLeaguesForSummonerTimeStamp(summonerName string) (time.Time, error) + func (b *Backend) GetMatch(id uint64) (*riotclient.MatchDTO, error) + func (b *Backend) GetMatchTimeLine(matchID uint64) (*riotclient.MatchTimelineDTO, error) + func (b *Backend) GetMatchesByGameVersion(gameVersion string) (*riotclient.Matches, error) + func (b *Backend) GetMatchesByGameVersionAndChampionID(gameVersion string, championID uint64) (*riotclient.Matches, error) + func (b *Backend) GetMatchesByGameVersionChampionIDMapBetweenQueueIDs(gameVersion string, championID uint64, mapID uint64, ltequeue uint64, ...) (*riotclient.Matches, error) + func (b *Backend) GetMatchesByGameVersionChampionIDMapQueue(gameVersion string, championID uint64, mapID uint64, queueID uint64) (*riotclient.Matches, error) + func (b *Backend) GetMatchesCount() (uint64, error) + func (b *Backend) GetMatchesCursorByGameVersion(gameVersion string) (storage.QueryCursor, error) + func (b *Backend) GetMatchesCursorByGameVersionChampionIDMapBetweenQueueIDs(gameVersion string, championID uint64, mapID uint64, ltequeue uint64, ...) (storage.QueryCursor, error) + func (b *Backend) GetMatchesCursorByGameVersionMapBetweenQueueIDs(gameVersion string, mapID uint64, ltequeue uint64, gtequeue uint64) (storage.QueryCursor, error) + func (b *Backend) GetMatchesCursorByGameVersionMapQueueID(gameVersion string, mapID uint64, queueID uint64) (storage.QueryCursor, error) + func (b *Backend) GetStorageSummary() (storage.Summary, error) + func (b *Backend) GetSummonerByAccountID(accountID string) (*storage.Summoner, error) + func (b *Backend) GetSummonerByAccountIDTimeStamp(accountID string) time.Time + func (b *Backend) GetSummonerByName(name string) (*storage.Summoner, error) + func (b *Backend) GetSummonerByNameTimeStamp(name string) time.Time + func (b *Backend) GetSummonerByPUUID(PUUID string) (*storage.Summoner, error) + func (b *Backend) GetSummonerByPUUIDTimeStamp(PUUID string) time.Time + func (b *Backend) GetSummonerBySummonerID(summonerID string) (*storage.Summoner, error) + func (b *Backend) GetSummonerBySummonerIDTimeStamp(summonerID string) time.Time + func (b *Backend) GetSummonerSpells() (*riotclient.SummonerSpellsList, error) + func (b *Backend) GetSummonerSpellsStatsByChampionIDGameVersionTierQueue(championID, gameVersion, tier, queue string) (*storage.SummonerSpellsStatsStorage, error) + func (b *Backend) GetSummonerSpellsTimeStamp() time.Time + func (b *Backend) GetSummonersCount() (uint64, error) + func (b *Backend) StoreChampionStats(data *storage.ChampionStatsStorage) error + func (b *Backend) StoreChampionStatsSummary(data *storage.ChampionStatsSummaryStorage) error + func (b *Backend) StoreChampions(championList riotclient.ChampionsList) error + func (b *Backend) StoreFreeRotation(data *riotclient.FreeRotation) error + func (b *Backend) StoreItemStats(data *storage.ItemStatsStorage) error + func (b *Backend) StoreKnownGameVersions(data *storage.GameVersions) error + func (b *Backend) StoreLeague(*riotclient.LeagueListDTO) error + func (b *Backend) StoreLeaguesForSummoner(leagues *storage.SummonerLeagues) error + func (b *Backend) StoreMatch(data *riotclient.MatchDTO) error + func (b *Backend) StoreMatchTimeLine(data *riotclient.MatchTimelineDTO) error + func (b *Backend) StoreSummoner(data *storage.Summoner) error + func (b *Backend) StoreSummonerSpells(summnerSpellsList *riotclient.SummonerSpellsList) error + func (b *Backend) StoreSummonerSpellsStats(data *storage.SummonerSpellsStatsStorage) error + type MatchCursor struct + func (c *MatchCursor) Close() error + func (c *MatchCursor) Decode(i interface{}) error + func (c *MatchCursor) Next() bool