summaryrefslogtreecommitdiff
path: root/types/discovery
AgeCommit message (Collapse)Author
2024-05-29Discovery: Improve search using levenshtein distance and sortingjwijenbergh
2024-05-29Discovery: return country_code to the clientjwijenbergh
2024-05-29Discovery: Implement search and do not return keywordsjwijenbergh
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.
2024-05-29Discovery: Return a subset to the clientJeroen Wijenbergh
2024-02-19All: Document everything to pass revive lintjwijenbergh
2023-09-25Types Discovery: Omitempty for some types that are not always therejwijenbergh
This makes sure that instead of "authentication_url_template": "" we get not even an "authentication_url_template" key This matches the upstream discovery format more 1:1
2023-09-25Exports + Client: Refactor registering a clientjwijenbergh
- Make sure the global exports state is only set on successful creating - Only call discovery when adding a server to ensure we get the most up to date args. Creating a client should have no network calls. Fixes #12 - Split creating a client in New and Register in the GO api
2023-09-25Types: Add comments describing the fields, types, packages and functionsjwijenbergh
2023-09-25Types: Split discovery into its own packagejwijenbergh