Documentation ¶
Index ¶
- type HttpClient
- type SrcomV1Client
- func (c *SrcomV1Client) GetCategory(categoryId string) ([]byte, error)
- func (c *SrcomV1Client) GetDeveloper(developerId string) ([]byte, error)
- func (c *SrcomV1Client) GetGame(gameId string) ([]byte, error)
- func (c *SrcomV1Client) GetGameCategoryLeaderboard(gameId, categoryId string) ([]byte, error)
- func (c *SrcomV1Client) GetGameLevelCategoryLeaderboard(gameId, levelId, categoryId string) ([]byte, error)
- func (c *SrcomV1Client) GetGameList(pageNumber int) ([]byte, error)
- func (c *SrcomV1Client) GetLevel(levelId string) ([]byte, error)
- func (c *SrcomV1Client) GetRunsByUser(userId string, pageNumber int) ([]byte, error)
- func (c *SrcomV1Client) GetUser(userId string) ([]byte, error)
- type SrcomV2Client
- func (c *SrcomV2Client) GetGame(gameID string) ([]byte, error)
- func (c *SrcomV2Client) GetGameCategoryLeaderboard(gameID, categoryID string, pageNumber int) ([]byte, error)
- func (c *SrcomV2Client) GetGameCategoryLevelWorldRecordHistory(gameID, categoryID, levelID string) ([]byte, error)
- func (c *SrcomV2Client) GetGameCategoryVariableValueLeaderboard(gameID, categoryID, variableID, valueID string, pageNumber int) ([]byte, error)
- func (c *SrcomV2Client) GetGameCategoryWorldRecordHistory(gameID, categoryID string) ([]byte, error)
- func (c *SrcomV2Client) GetGameList(pageNumber int) ([]byte, error)
- func (c *SrcomV2Client) GetGameSummary(gameurl string) ([]byte, error)
- func (c *SrcomV2Client) GetUser(userID string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpClient ¶
type SrcomV1Client ¶
type SrcomV1Client struct {
// contains filtered or unexported fields
}
func NewSrcomV1Client ¶
func NewSrcomV1Client(client HttpClient) *SrcomV1Client
func (*SrcomV1Client) GetCategory ¶
func (c *SrcomV1Client) GetCategory(categoryId string) ([]byte, error)
func (*SrcomV1Client) GetDeveloper ¶
func (c *SrcomV1Client) GetDeveloper(developerId string) ([]byte, error)
func (*SrcomV1Client) GetGameCategoryLeaderboard ¶
func (c *SrcomV1Client) GetGameCategoryLeaderboard(gameId, categoryId string) ([]byte, error)
func (*SrcomV1Client) GetGameLevelCategoryLeaderboard ¶
func (c *SrcomV1Client) GetGameLevelCategoryLeaderboard(gameId, levelId, categoryId string) ([]byte, error)
func (*SrcomV1Client) GetGameList ¶
func (c *SrcomV1Client) GetGameList(pageNumber int) ([]byte, error)
func (*SrcomV1Client) GetRunsByUser ¶
func (c *SrcomV1Client) GetRunsByUser(userId string, pageNumber int) ([]byte, error)
type SrcomV2Client ¶
type SrcomV2Client struct {
// contains filtered or unexported fields
}
func NewSrcomV2Client ¶
func NewSrcomV2Client(client HttpClient) *SrcomV2Client
func (*SrcomV2Client) GetGameCategoryLeaderboard ¶
func (c *SrcomV2Client) GetGameCategoryLeaderboard(gameID, categoryID string, pageNumber int) ([]byte, error)
func (*SrcomV2Client) GetGameCategoryLevelWorldRecordHistory ¶
func (c *SrcomV2Client) GetGameCategoryLevelWorldRecordHistory(gameID, categoryID, levelID string) ([]byte, error)
func (*SrcomV2Client) GetGameCategoryVariableValueLeaderboard ¶
func (c *SrcomV2Client) GetGameCategoryVariableValueLeaderboard( gameID, categoryID, variableID, valueID string, pageNumber int, ) ([]byte, error)
func (*SrcomV2Client) GetGameCategoryWorldRecordHistory ¶
func (c *SrcomV2Client) GetGameCategoryWorldRecordHistory(gameID, categoryID string) ([]byte, error)
func (*SrcomV2Client) GetGameList ¶
func (c *SrcomV2Client) GetGameList(pageNumber int) ([]byte, error)
func (*SrcomV2Client) GetGameSummary ¶
func (c *SrcomV2Client) GetGameSummary(gameurl string) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.