diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-03-12 16:29:39 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-03-12 16:29:39 +0100 |
| commit | e604b1e1424edff72f4f0e7f447e66ffee850110 (patch) | |
| tree | 577978b86fb7afa71e147eee22b42d4897229fec /types | |
| parent | be1919723e8e5d5381934945077e0af53dbffa23 (diff) | |
Profiles + Server: Also expose default gateway settings in profile
Diffstat (limited to 'types')
| -rw-r--r-- | types/server/server.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/types/server/server.go b/types/server/server.go index 260d328..1d55ea7 100644 --- a/types/server/server.go +++ b/types/server/server.go @@ -86,6 +86,9 @@ type Profile struct { // E.g. {"en": "Default Profile"} // If this is empty, the field is omitted from the JSON DisplayName map[string]string `json:"display_name,omitempty"` + + // DefaultGateway is true when the profile is a default gateway one + DefaultGateway bool `json:"default_gateway"` } // Profiles is the map of profiles with the current defined |
