From ef7f44e4bb7713b18e6c0ab1b6e3510075b6623b Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Wed, 22 May 2024 14:32:38 +0200 Subject: Discovery: return country_code to the client --- types/discovery/discovery.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'types') diff --git a/types/discovery/discovery.go b/types/discovery/discovery.go index a6be5bf..4d92766 100644 --- a/types/discovery/discovery.go +++ b/types/discovery/discovery.go @@ -34,6 +34,8 @@ type Server struct { DisplayName MapOrString `json:"display_name,omitempty"` // Type is the type of the server, "secure_internet" or "institute_access" Type string `json:"server_type"` + // CountryCode is the country code of the server if Type is "secure_internet", e.g. nl + CountryCode string `json:"country_code"` } // MapOrString is a custom type as the upstream discovery format is a map or a value. -- cgit v1.2.3