Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Games ¶
type Games struct {
Games []models.Game `json:"data"`
Page int `json:"page"`
PerPage int `json:"per_page"`
Total int `json:"total"`
}
Games is a list of games as returned by the /games endpoint
type GetResult ¶
type GetResult struct {
Game *models.Game `json:"game"`
Error *models.Error `json:"error,omitempty"`
}
GetResult is the payload from the `/games/:id` endpoint
type ListResult ¶
ListResult is the payload from the `/games` endpoint
Click to show internal directories.
Click to hide internal directories.