From 9c4985368aee638d982f30ea7bc5c7ee71ae3ab3 Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Tue, 6 May 2025 12:35:21 +0200 Subject: All: Fix staticcheck errors --- client/discovery.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client') 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() { -- cgit v1.2.3