diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2024-05-07 11:51:34 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2024-05-29 14:36:10 +0200 |
| commit | 3ecfc012e2db8b464596faf2c3bd4db1cab8697b (patch) | |
| tree | b234ee9aa6729e56232786fee83f92cc5bbb63e3 /types/discovery | |
| parent | b1033a6a39fe21fec99be5318ba3536af148a79b (diff) | |
Discovery: Implement search and do not return keywords
This patch implements search by adding a second argument to
DiscoOrganizations and DiscoServers. A search string of = "" returns
everything. This also makes the subset that is returned to the client
even fewer, no keywords.
Diffstat (limited to 'types/discovery')
| -rw-r--r-- | types/discovery/discovery.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/types/discovery/discovery.go b/types/discovery/discovery.go index da029e7..a6be5bf 100644 --- a/types/discovery/discovery.go +++ b/types/discovery/discovery.go @@ -17,9 +17,6 @@ type Organization struct { DisplayName MapOrString `json:"display_name,omitempty"` // OrgID is the organization ID for the server OrgID string `json:"org_id"` - // KeywordList is the list of keywords - // Omitted if none is defined - KeywordList MapOrString `json:"keyword_list,omitempty"` } // Servers is the type that defines the upstream discovery format for the list of servers @@ -35,8 +32,6 @@ type Server struct { BaseURL string `json:"base_url"` // DisplayName is the display name of the server, omitted if empty DisplayName MapOrString `json:"display_name,omitempty"` - // DisplayName are the keywords of the server, omitted if empty - KeywordList MapOrString `json:"keyword_list,omitempty"` // Type is the type of the server, "secure_internet" or "institute_access" Type string `json:"server_type"` } |
