Documentation ¶
Index ¶
- type LoLApi
- type LoLTournamentApi
- type NativeLoLTournamentApi
- func (api *NativeLoLTournamentApi) CreateTournamentKey(tournamentId int, metadata string) (string, error)
- func (api *NativeLoLTournamentApi) ForwardCompleteTournamentGame(body []byte) error
- func (api *NativeLoLTournamentApi) RegisterTournament(leagueId int, region, tournamentName string) (providerId int, tournamentId int, err error)
- type SummonerInformation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoLApi ¶
type LoLApi interface { GetSummonerInformation(ids []string) map[string]*SummonerInformation CompletePlayerStubs(team *dataModel.LoLTeamStub) (*dataModel.LoLTeamWithRosters, error) GetSummonerId(name string) (string, error) GetMatchStats(id string) (*dataModel.LoLMatchInformation, error) }
func GetLolApiWrapper ¶
func GetLolApiWrapper() LoLApi
type LoLTournamentApi ¶
type LoLTournamentApi interface { RegisterTournament(leagueId int, region, tournamentName string) (providerId int, tournamentId int, err error) CreateTournamentKey(tournamentId int, metadata string) (string, error) ForwardCompleteTournamentGame(body []byte) error }
func GetLoLTournamentApi ¶
func GetLoLTournamentApi(config config.Config) LoLTournamentApi
type NativeLoLTournamentApi ¶
type NativeLoLTournamentApi struct {
// contains filtered or unexported fields
}
func (*NativeLoLTournamentApi) CreateTournamentKey ¶
func (api *NativeLoLTournamentApi) CreateTournamentKey(tournamentId int, metadata string) (string, error)
func (*NativeLoLTournamentApi) ForwardCompleteTournamentGame ¶
func (api *NativeLoLTournamentApi) ForwardCompleteTournamentGame(body []byte) error
func (*NativeLoLTournamentApi) RegisterTournament ¶
type SummonerInformation ¶
Click to show internal directories.
Click to hide internal directories.