package
0.0.0-20240911194050-9270f65ec2bb
Repository: https://github.com/office-sports/ttapp-api.git
Documentation: pkg.go.dev
# Functions
AddPoint handles adding point to the database table.
AnnounceGame sends announce message and updates db value for it.
AnnounceSchedule sends announce message.
ChangeServer flips the player id as server in the db.
DelPoint handles removing point from the database table.
FinalizeGame ends set or set + game.
GetGameById returns game for requested id.
GetGameModes returns array of game modes.
GetGameServe returns serve data for game.
GetGamesLive returns array of live games.
GetGameTimeline returns game timeline for requested id.
GetLeaders returns all-time leaders.
GetLiveTournaments returns an array of all live tournaments.
No description provided by the author
GetPlayerById returns single player by given id.
GetPlayerOpponentsById returns array of player opponents.
GetPlayerResultsById returns array of player results for given player id.
GetPlayers return all players.
GetPlayerScheduleById returns array of player scheduled games for given player id.
GetTournamentById returns tournament data for requested id.
GetTournamentGames returns array of all games for requested tournament.
GetTournamentGamesLive returns array of live games for requested tournament.
GetTournamentGroupGames returns tournament games ordered by date.
GetTournamentGroupSchedule returns tournament games ordered by date.
GetTournamentInfo returns standings for requested tournament.
GetTournamentLadders returns playoffs tournament ladders.
GetTournamentPerformanceById returns players performance for requested tournament.
GetTournamentPlayersStatistics returns array of tournaments.
GetTournamentResults returns array of finished games for requested tournament.
GetTournaments returns array of tournaments.
GetTournamentSchedule returns tournament games ordered by date.
GetTournamentsStatistics returns array of tournaments.
GetTournamentStandingsById returns standings for requested tournament.
No description provided by the author
No description provided by the author
RecalculateElo returns array of finished games with ELO values.
SaveGameScore handles manual score input (game finish).
SetHeaders will set the default headers used by all requests.
UpdateGameElo returns array of finished games with ELO values.