diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-05-03 10:41:54 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-09-25 09:43:37 +0200 |
| commit | 680c91aff531fca6fa2394094252520adac5f9e3 (patch) | |
| tree | 43c25b7df1f67362624e60e20966ac2d1af3e064 /types | |
| parent | cde637296426c17087145442857f6b041ead80d6 (diff) | |
Client + Types: Expose support contact
Diffstat (limited to 'types')
| -rw-r--r-- | types/server/server.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/types/server/server.go b/types/server/server.go index 3bdebe1..4198e86 100644 --- a/types/server/server.go +++ b/types/server/server.go @@ -125,6 +125,8 @@ type Server struct { type Institute struct { // Server is the embedded server struct Server + // SupportContacts are the list of support contacts + SupportContacts []string `json:"support_contacts"` // 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"` @@ -138,6 +140,8 @@ type SecureInternet struct { CountryCode string `json:"country_code"` // Locations is the list of available secure internet locations Locations []string `json:"locations"` + // SupportContacts are the list of support contacts + SupportContacts []string `json:"support_contacts"` // 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"` |
