package
0.0.0-20210915183647-588d2c83ddb7
Repository: https://github.com/syncore/a2sapi.git
Documentation: pkg.go.dev
# Functions
GetDefaultServerID returns the default DbServerID outer struct when a given host does not have an ID that was found in the server ID database.
GetDefaultServerList Returns a default, empty, server list with the current date and time in response to a server detail list request that failed for whatever reason.
# Variables
MasterList represents the list of all servers returned from the master server and directly exposed to the user via queries if timed auto queries are enabled.
# Structs
APIServer represents an individual game server's information, including its A2S information as well as its geographical data.
APIServerList represents the server detail list returned in response to building the master list or in response to building the list of server details via a user's API request.
DbCountry This struct is for the JSON representation displayed by the API.
DbServer represents an individual server's internal ID information.
DbServerID represents the outer struct that is retrieved from the server ID database.
FilteredPlayerInfo is a collection of all players on a server that actually exist on the server and are not bugged or stuck due to the Steam de-auth bug that exists in game servers for certain games (such as Quake Live).
SteamExtraData represents the original extra data field, if present returned by a direct A2S_INFO query of a given host.
SteamPlayerInfo represents a player returned by a Steam A2S_PLAYER query.
SteamServerInfo represents the original information returned by a direct A2S_INFO query of a given host.