summaryrefslogtreecommitdiff
path: root/internal/types/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/types/server.go')
-rw-r--r--internal/types/server.go21
1 files changed, 10 insertions, 11 deletions
diff --git a/internal/types/server.go b/internal/types/server.go
index 09bfc92..9e68a5c 100644
--- a/internal/types/server.go
+++ b/internal/types/server.go
@@ -16,9 +16,9 @@ type DiscoveryOrganizations struct {
}
type DiscoveryOrganization struct {
- DisplayName map[string]string `json:"display_name"`
- OrgId string `json:"org_id"`
- SecureInternetHome string `json:"secure_internet_home"`
+ DisplayName map[string]string `json:"display_name"`
+ OrgId string `json:"org_id"`
+ SecureInternetHome string `json:"secure_internet_home"`
KeywordList struct {
En string `json:"en"`
} `json:"keyword_list"`
@@ -58,13 +58,12 @@ func (DN *DNMapOrString) UnmarshalJSON(data []byte) error {
return err
}
-
type DiscoveryServer struct {
- AuthenticationURLTemplate string `json:"authentication_url_template"`
- BaseURL string `json:"base_url"`
- CountryCode string `json:"country_code"`
- DisplayName DNMapOrString `json:"display_name,omitempty"`
- PublicKeyList []string `json:"public_key_list"`
- Type string `json:"server_type"`
- SupportContact []string `json:"support_contact"`
+ AuthenticationURLTemplate string `json:"authentication_url_template"`
+ BaseURL string `json:"base_url"`
+ CountryCode string `json:"country_code"`
+ DisplayName DNMapOrString `json:"display_name,omitempty"`
+ PublicKeyList []string `json:"public_key_list"`
+ Type string `json:"server_type"`
+ SupportContact []string `json:"support_contact"`
}