app

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	URLGetAppBetas                   = "/ISteamApps/GetAppBetas/v1/"
	URLGetAppBuilds                  = "/ISteamApps/GetAppBuilds/v1/"
	URLGetAppDepotVersions           = "/ISteamApps/GetAppDepotVersions/v1/"
	URLGetAppList                    = "/ISteamApps/GetAppList/v2/"
	URLGetPartnerAppListForWebAPIKey = "/ISteamApps/GetPartnerAppListForWebAPIKey/v2/"
	URLGetPlayersBanned              = "/ISteamApps/GetPlayersBanned/v1/"
	URLServerList                    = "/ISteamApps/GetServerList/v1/"
	URLGetServersAtAddress           = "/ISteamApps/GetServersAtAddress/v1/"
	URLSetAppBuildLive               = "/ISteamApps/SetAppBuildLive/v1/"
	URLUpToDateCheck                 = "/ISteamApps/UpToDateCheck/v1/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildLiveUpdateOption

type BuildLiveUpdateOption struct {
	AppId       uint   `json:"appid" valid:"required"`
	BuildId     uint   `json:"buildid" valid:"required"`
	BetaKey     string `json:"betakey" valid:"required"`
	Description string `json:"description"`
}

type BuildsQueryOption

type BuildsQueryOption struct {
	steam.AppId
	Count uint `json:"count" mapstructure:"count" valid:"required"`
}

type PartnerApp

type PartnerApp struct {
	AppId   uint   `json:"appid"`
	AppName string `json:"app_name"`
	AppType string `json:"app_type"`
}

type PartnerAppList

type PartnerAppList struct {
	AppList struct {
		Apps struct {
			App []PartnerApp `json:"app"`
		} `json:"apps"`
	} `json:"applist"`
}

type PartnerAppQueryFilter

type PartnerAppQueryFilter struct {
	TypeFilter string `json:"type_filter" mapstructure:"type_filter"`
}

type PublicApp

type PublicApp struct {
	AppId uint   `json:"appid"`
	Name  string `json:"name"`
}

type PublicAppList

type PublicAppList struct {
	AppList struct {
		Apps []PublicApp `json:"apps"`
	} `json:"applist"`
}

type ServerAddress

type ServerAddress struct {
	Address  string `json:"addr"`
	GmsIndex int    `json:"gmsindex"`
	SteamId  string `json:"steamid"`
	Message  string `json:"message"`
	AppId    uint   `json:"appid"`
	GameDir  string `json:"gamedir"`
	Region   uint   `json:"region"`
	Secure   bool   `json:"secure"`
	Lan      bool   `json:"lan"`
	GamePort uint   `json:"gameport"`
	SpecPort uint   `json:"specport"`
}

type ServerAddressList

type ServerAddressList struct {
	Response struct {
		Success bool            `json:"success"`
		Servers []ServerAddress `json:"servers"`
	} `json:"response"`
}

type ServerAddressQueryOption

type ServerAddressQueryOption struct {
	Address string `json:"addr" mapstructure:"addr" valid:"required,ip"`
}

type ServerListQueryFilter

type ServerListQueryFilter struct {
	Filter string `json:"filter" mapstructure:"filter"`
	Limit  uint   `json:"limit" mapstructure:"limit"`
}

type UpToDateCheck

type UpToDateCheck struct {
	Response struct {
		Success           bool   `json:"success"`
		UpToDate          bool   `json:"up_to_date"`
		VersionIsListable bool   `json:"version_is_listable"`
		RequiredVersion   uint   `json:"required_version"`
		Message           string `json:"message"`
	} `json:"response"`
}

type UpToDateCheckQueryOption

type UpToDateCheckQueryOption struct {
	AppId   uint `json:"appid" mapstructure:"appid" valid:"required"`
	Version uint `json:"version" mapstructure:"version" valid:"required"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL