PublicServerDTO
PublicServerDTO describes a catalog server and whether the current client can join it.
Kind
struct
Fields
| Go field | JSON field | Go type | TypeScript type | Optional | Nullable |
|---|---|---|---|---|---|
Name | name | string | string | No | No |
Address | address | string | string | No | No |
Description | description | string | string | No | No |
Players | players | int | number | No | No |
ModCount | modCount | int | number | No | No |
RequiresWhitelist | requiresWhitelist | bool | boolean | No | No |
AccessRestricted | accessRestricted | bool | boolean | No | No |
Joinable | joinable | bool | boolean | No | No |
Used by
- ServerController.ListPublicServers — return value
Source
internal/transport/wails/server_controller.go:40