From 67a68be2290b3af6e7d2897e52b3cd19d1f4450d Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Fri, 26 Mar 2021 15:48:58 +0100 Subject: Location selection more responsive --- pkg/bitmask/bitmask.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg/bitmask/bitmask.go') diff --git a/pkg/bitmask/bitmask.go b/pkg/bitmask/bitmask.go index eb2a833..d4c1c3f 100644 --- a/pkg/bitmask/bitmask.go +++ b/pkg/bitmask/bitmask.go @@ -28,8 +28,11 @@ type Bitmask interface { VPNCheck() (helpers bool, priviledge bool, err error) ListLocationFullness(protocol string) map[string]float64 UseGateway(name string) + UseAutomaticGateway() GetCurrentGateway() string GetCurrentLocation() string + GetCurrentCountry() string + IsManualLocation() bool UseTransport(transport string) error NeedsCredentials() bool DoLogin(username, password string) (bool, error) -- cgit v1.2.3