FavoriteServerDTO
FavoriteServerDTO describes a saved multiplayer destination for the frontend.
Kind
struct
Fields
| Go field | JSON field | Go type | TypeScript type | Optional | Nullable |
|---|---|---|---|---|---|
ID | id | string | string | No | No |
Name | name | string | string | No | No |
Address | address | string | string | No | No |
InstanceID | instanceId | *string | string | null | Yes | Yes |
Used by
- ServerController.ListFavoriteServers — return value
- ServerController.SaveFavoriteServer — return value
Source
internal/transport/wails/server_controller.go:32