Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BearerToken ¶
type BearerToken struct { AccessToken string `json:"access_token"` TokenType string `json:"token_type"` ExpiresIn int `json:"expires_in"` UserName string `json:"userName"` Issued string `json:".issued"` Expires string `json:".expires"` }
BearerToken represents a valid Bearer Token response from TCG Player API
type ProductResult ¶
type ProductResult struct { ProductID int `json:"productId"` Name string `json:"name"` CleanName string `json:"cleanName"` ImageURL string `json:"imageUrl"` URL string `json:"url"` ExtendedData []ResultExtended `json:"extendedData"` }
ProductResult ...
type Result ¶
type Result struct { Success bool `json:"success"` Errors []string `json:"errors"` Results []ProductResult `json:"results"` }
Result ...
type ResultExtended ¶
type ResultExtended struct { Name string `json:"name"` DisplayName string `json:"displayName"` Value string `json:"value"` }
ResultExtended ...
Click to show internal directories.
Click to hide internal directories.