Documentation ¶
Index ¶
- Variables
- type Steam
- type StoreAPI
- type WebAPI
- func (s *WebAPI) Get(ctx context.Context, path string, query url.Values, data interface{}) error
- func (s *WebAPI) GetOwnedGames(ctx context.Context, req model.GetOwnedGamesRequest) (*model.OwnedGames, error)
- func (s *WebAPI) GetPlayerSummary(ctx context.Context, req model.GetPlayerSummariesRequest) (*model.PlayerSummary, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewSteam, NewStoreAPI, NewWebAPI)
Functions ¶
This section is empty.
Types ¶
type Steam ¶
func (*Steam) FeatureEnabled ¶ added in v0.1.0
type StoreAPI ¶
type StoreAPI struct {
// contains filtered or unexported fields
}
func NewStoreAPI ¶
func (*StoreAPI) GetAppDetails ¶
func (s *StoreAPI) GetAppDetails( ctx context.Context, req model.GetAppDetailsRequest, ) (map[string]model.AppDetailsBasic, error)
type WebAPI ¶
type WebAPI struct {
// contains filtered or unexported fields
}
func NewWebAPI ¶
func NewWebAPI(c *colly.Collector, config *conf.Porter_Data_Steam) (*WebAPI, error)
func (*WebAPI) GetOwnedGames ¶
func (s *WebAPI) GetOwnedGames(ctx context.Context, req model.GetOwnedGamesRequest) (*model.OwnedGames, error)
func (*WebAPI) GetPlayerSummary ¶
func (s *WebAPI) GetPlayerSummary( ctx context.Context, req model.GetPlayerSummariesRequest, ) (*model.PlayerSummary, error)
Click to show internal directories.
Click to hide internal directories.