Documentation ¶
Index ¶
- Constants
- type App
- type AppType
- type Locale
- type SteamUseCase
- func (s *SteamUseCase) GetAppDetails(ctx context.Context, appID int) (*App, error)
- func (s *SteamUseCase) GetOwnedGames(ctx context.Context, steamID string) ([]*App, error)
- func (s *SteamUseCase) GetUser(ctx context.Context, steamID string) (*User, error)
- func (s *SteamUseCase) SearchAppByName(ctx context.Context, name string) ([]*App, error)
- type User
Constants ¶
View Source
const ( CDNCoverImageURL = "https://steamcdn-a.akamaihd.net/steam/apps/%d/library_600x900_2x.jpg" CDNLogoImageURL = "https://steamcdn-a.akamaihd.net/steam/apps/%d/logo.png" CDNHeaderImageURL = "https://steamcdn-a.akamaihd.net/steam/apps/%d/library_hero.jpg" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppType ¶
type AppType string
const ( AppTypeGame AppType = "game" AppTypeApplication AppType = "application" AppTypeTool AppType = "tool" AppTypeDemo AppType = "demo" AppTypeDeprected AppType = "deprected" AppTypeDLC AppType = "dlc" AppTypeGuide AppType = "guide" AppTypeDriver AppType = "driver" AppTypeConfig AppType = "config" AppTypeHardware AppType = "hardware" AppTypeFranchise AppType = "franchise" AppTypeVideo AppType = "video" AppTypePlugin AppType = "plugin" AppTypeMusic AppType = "music" AppTypeSeries AppType = "series" AppTypeComic AppType = "comic" AppTypeBeta AppType = "beta" )
type SteamUseCase ¶
type SteamUseCase struct {
// contains filtered or unexported fields
}
func NewSteamUseCase ¶
func NewSteamUseCase(apiKey string) *SteamUseCase
func (*SteamUseCase) GetAppDetails ¶
func (*SteamUseCase) GetOwnedGames ¶
func (*SteamUseCase) SearchAppByName ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.