Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBadRequest = errors.New("please confirm that all required parameters have been sent") ErrForbidden = errors.New("forbidden Access is forbidden, retrying will not help, please verify your key parameter") ErrNotFound = errors.New("requested url not found") ErrNoMethod = errors.New("method Not allowed") ErrExcessive = errors.New("you are limited by the rate") ErrInternal = errors.New("an unrecoverable error has occurred, please try again") )
Functions ¶
Types ¶
type AppIds ¶ added in v1.2.0
type AppIds struct {
AppIds string `json:"appids" mapstructure:"appids" valid:"required"`
}
type CommonResponse ¶ added in v1.2.0
CommonResponse for some interface which need publisher api key are hard to test and no way to know their response, so use this type to replace
type LanguageCode ¶
type LanguageCode = uint
const ( LangEnglish LanguageCode = iota LangGerman LangFrench LangItalian LangKorea LangSpanish LangSimplifiedChinese LangTraditionalChinese LangRussian LangThai LangJapanese LangPortugal LangPoland LangDenmark LangNetherlands LangFinland LangNorway LangSweden LangHungary LangCzech LangRomania LangTurkey LangPortugal1 LangBulgaria LangGreek LangUkrainian LangUnknown LangSpanish1 LangVietnamese )
type PlatformSupportedLanguages ¶
type PlatformSupportedLanguages string
PlatformSupportedLanguages see https://partner.steamgames.com/doc/store/localization/languages
type SteamAppId ¶ added in v1.2.0
type SteamId ¶ added in v1.2.0
type SteamId struct {
SteamId uint `json:"steamid" mapstructure:"steamid"`
}
type SteamIdString ¶ added in v1.2.0
type SteamIdString struct {
SteamId string `json:"steamid" mapstructure:"steamid"`
}
Click to show internal directories.
Click to hide internal directories.