summaryrefslogtreecommitdiff
path: root/internal/config/v1/v1.go
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2025-05-06 12:35:21 +0200
committerJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2025-05-06 12:35:21 +0200
commit9c4985368aee638d982f30ea7bc5c7ee71ae3ab3 (patch)
tree10b0bd88547c366b05404419b9e7dee1b1a1e270 /internal/config/v1/v1.go
parentcd4e5a23852ca5f9af7f66f1daa9dfbf7d8e7376 (diff)
All: Fix staticcheck errors
Diffstat (limited to 'internal/config/v1/v1.go')
-rw-r--r--internal/config/v1/v1.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/config/v1/v1.go b/internal/config/v1/v1.go
index 973c3d3..5f5cd93 100644
--- a/internal/config/v1/v1.go
+++ b/internal/config/v1/v1.go
@@ -64,11 +64,15 @@ type SecureInternetHome struct {
CurrentLocation string `json:"current_location"`
}
+// Type is the type of server, a server from discovery or one entered manually by typing it in the client
type Type int8
const (
+ // CustomServerType is the type of server that is manually added by typing a URL
CustomServerType Type = iota
+ // InstituteAccessServerType is the type of server that is in the discovery server_list.json with type "institute_access"
InstituteAccessServerType
+ // SecureInternetServerType is the type of server that is in the discovery server_list.json with type "secure_internet"
SecureInternetServerType
)