diff options
author | Ruben Pollan <meskio@sindominio.net> | 2021-03-26 15:48:58 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-05-04 14:58:39 +0200 |
commit | 67a68be2290b3af6e7d2897e52b3cd19d1f4450d (patch) | |
tree | 60f477042a7764186e39db51f13a0733afd9bffd /pkg/bitmask/bitmask.go | |
parent | 4e1f3a4f88136e497962e4f976d5c7f216c31a15 (diff) |
Location selection more responsive
Diffstat (limited to 'pkg/bitmask/bitmask.go')
-rw-r--r-- | pkg/bitmask/bitmask.go | 3 |
1 files changed, 3 insertions, 0 deletions
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) |