Documentation ¶
Index ¶
- func Authenticate(api_key string) string
- func GetGame(game_id string, c chan Game)
- func GetSaveFile(api_key string, game_id string, download_to string, progressbar bool)
- func SubmitSaveFile(api_key string, game_id string, upload_from string, progressbar bool)
- type ApiCurrentTurn
- type ApiGamePlayer
- type ApiGameResponse
- type ApiGamesResponse
- type ApiPlayerResponse
- type Game
- type Player
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
func GetSaveFile ¶
Types ¶
type ApiCurrentTurn ¶
type ApiGamePlayer ¶
type ApiGameResponse ¶
type ApiGameResponse struct { CurrentTurn ApiCurrentTurn GameId int Name string Players []ApiGamePlayer }
type ApiGamesResponse ¶
type ApiGamesResponse struct { CurrentTotalPoints int Games []ApiGameResponse Players []ApiPlayerResponse }
func GetMyGames ¶
func GetMyGames(api_key string) ApiGamesResponse
func (ApiGamesResponse) IsMyTurn ¶
func (r ApiGamesResponse) IsMyTurn(game_id string) string
type ApiPlayerResponse ¶
Click to show internal directories.
Click to hide internal directories.