summaryrefslogtreecommitdiff
path: root/internal/config/v2
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-03-14 17:19:25 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2024-03-14 17:19:25 +0100
commit948d986fda345ff41da699adf2dbf26144269145 (patch)
tree5800568b9a7af700e346067a3ad7c84096b9e519 /internal/config/v2
parent35b11f421c23b18680b9468cca6cdec08430aba7 (diff)
Client + Server: Cache secure internet profile choice per location
Diffstat (limited to 'internal/config/v2')
-rw-r--r--internal/config/v2/v2.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/config/v2/v2.go b/internal/config/v2/v2.go
index 050eadd..143d5f2 100644
--- a/internal/config/v2/v2.go
+++ b/internal/config/v2/v2.go
@@ -25,6 +25,9 @@ type Server struct {
// CountryCode is the country code for the server in case of secure internet
// Otherwise it is an empty string
CountryCode string `json:"country_code,omitempty"`
+
+ // LocationProfiles are current profiles for each secure internet location
+ LocationProfiles map[string]string `json:"location_profiles,omitempty"`
}
// ServerKey is the key type of the server map