summaryrefslogtreecommitdiff
path: root/client
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 /client
parentcd4e5a23852ca5f9af7f66f1daa9dfbf7d8e7376 (diff)
All: Fix staticcheck errors
Diffstat (limited to 'client')
-rw-r--r--client/discovery.go2
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() {