Documentation ¶
Overview ¶
Package games provides a service to consume API resource games.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Games ¶
type Games struct {
// contains filtered or unexported fields
}
func (*Games) GetStatistics ¶
type HTTPService ¶
type HTTPService struct {
// contains filtered or unexported fields
}
HTTPService implements the Service interface using HTTP requests.
func NewHTTPService ¶
func NewHTTPService(c *baseclient.BaseClient, gameID internaltypes.Game) *HTTPService
NewHTTPService creates a new instance of HTTPService.
func (*HTTPService) GetStatistics ¶
func (s *HTTPService) GetStatistics(ctx context.Context) (*types.GameStatistics, error)
GetStatistics for a game.
Click to show internal directories.
Click to hide internal directories.