Versions in this module Expand all Collapse all v1 v1.3.1 Aug 30, 2024 v1.3.0 Aug 30, 2024 Changes in this version + func PlatformDisplayName(region string, platform Platform) string type Server + Region string v1.2.2 Aug 30, 2024 Changes in this version + type MetaInfo struct + Day int + DayElapsedInSeason int + DaysLeftInSeason int + ModsInfo []Mod + Players []Player v1.2.1 Mar 14, 2024 v1.2.0 Mar 10, 2024 v1.1.0 Mar 7, 2024 Changes in this version + const ApEast + const ApSoutheast + const EuCentral + const GameId + const LobbyDetailsURL + const LobbyRegionURL + const LobbyServersURL + const UsEast1 + var ExplicitPlatforms = []string + type Client struct + func New(token string) *Client + func NewWith(token string, client *resty.Client) *Client + func (c *Client) GetCapableRegions() (Regions, error) + func (c *Client) GetLobbyServers(region string, platform string) (Servers, error) + func (c *Client) GetServerDetails(region string, rowId string) (ServerDetails, error) + type Mod struct + Enabled bool + Id string + Name string + Version1 string + Version2 string + type Platform uint + const PS4Official + const PSN + const Rail + const Steam + const Switch + const XBOne + func (p Platform) String() string + type Player struct + Colour string + Level int + Name string + Prefab string + SteamId string + type Regions struct + Regions []struct{ ... } + type Secondaries struct + Address string + Id string + Port int + SteamId string + type Server struct + Address string + AllowNewPlayers bool + ClanOnly bool + ClientHosted bool + Connected int + FriendOnly bool + GameMode string + Guid string + HasPassword bool + Host string + Intent string + IsDedicated bool + LanOnly bool + MaxConnections int + Mod bool + Name string + OwnerNetId string + Platform Platform + Port int + Pvp bool + RowId string + Season string + Secondaries map[string]Secondaries + ServerPaused bool + Session string + SteamClanId string + SteamId string + SteamRoom string + TagStr string + Tags []string + Version int + type ServerDetails struct + ClientModsOff bool + Data string + Details struct{ ... } + Mods []any + Nat int + OnlinePlayers string + Tick int + WorldGen string + type Servers struct + List []Server