summaryrefslogtreecommitdiff
path: root/types/server
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-04-12 22:49:21 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commite9f47a6df3c0fb84ae0c8240b3a7f38740dfa75b (patch)
tree7fdac134f8e9a1f91cca4308f021295212e1030b /types/server
parente361ec863961982e01f3d7f5842245dac88a05fd (diff)
Types Server: Pass locations to secure internet
Diffstat (limited to 'types/server')
-rw-r--r--types/server/server.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/types/server/server.go b/types/server/server.go
index 82730ab..354c27d 100644
--- a/types/server/server.go
+++ b/types/server/server.go
@@ -89,6 +89,8 @@ type SecureInternet struct {
Server
// CountryCode is the country code of the currently configured location, e.g. "nl"
CountryCode string `json:"country_code"`
+ // Locations is the list of available secure internet locations
+ Locations []string `json:"locations"`
// Delisted is a boolean that indicates whether or not this server is delisted from discovery
// If it is, the UI should show a warning symbol or move the server to a new category, which is up to the client
Delisted bool `json:"delisted"`