Documentation
¶
Overview ¶
Package client provides the Steam Web API HTTP client used by all step implementations.
Index ¶
Constants ¶
View Source
const DefaultSteamAPIBase = "https://api.steampowered.com"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SteamClient ¶
type SteamClient struct {
// contains filtered or unexported fields
}
SteamClient wraps the Steam Web API with a configurable base URL so tests can substitute an httptest.Server.
func New ¶
func New(baseURL string) *SteamClient
New creates a new SteamClient. If baseURL is empty, the default Steam API base is used.
Click to show internal directories.
Click to hide internal directories.