diff options
| author | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2025-05-06 12:35:21 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2025-05-06 12:35:21 +0200 |
| commit | 9c4985368aee638d982f30ea7bc5c7ee71ae3ab3 (patch) | |
| tree | 10b0bd88547c366b05404419b9e7dee1b1a1e270 /client/discovery.go | |
| parent | cd4e5a23852ca5f9af7f66f1daa9dfbf7d8e7376 (diff) | |
All: Fix staticcheck errors
Diffstat (limited to 'client/discovery.go')
| -rw-r--r-- | client/discovery.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/discovery.go b/client/discovery.go index 596715f..b1cae32 100644 --- a/client/discovery.go +++ b/client/discovery.go @@ -112,6 +112,8 @@ func (c *Client) DiscoServers(ck *cookie.Cookie, search string) (*discotypes.Ser }, err } +// DiscoveryStartup gets the discovery when the client is just starting up +// cb is called when discovery has finished in the background func (c *Client) DiscoveryStartup(cb func()) error { // Not supported with Let's Connect! & govVPN if !c.hasDiscovery() { |
