diff options
author | Ruben Pollan <meskio@sindominio.net> | 2021-03-24 12:47:02 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-05-04 14:58:39 +0200 |
commit | 4e1f3a4f88136e497962e4f976d5c7f216c31a15 (patch) | |
tree | 86fd6aea30aca3753b5be785eb684cbb3d205e6b /pkg/bitmask | |
parent | b14d048e6089233f5c698426652e85bfa1d89488 (diff) |
Let's rename the API to use location instead of gateway
Diffstat (limited to 'pkg/bitmask')
-rw-r--r-- | pkg/bitmask/bitmask.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bitmask/bitmask.go b/pkg/bitmask/bitmask.go index cb7be29..eb2a833 100644 --- a/pkg/bitmask/bitmask.go +++ b/pkg/bitmask/bitmask.go @@ -27,7 +27,7 @@ type Bitmask interface { InstallHelpers() error VPNCheck() (helpers bool, priviledge bool, err error) ListLocationFullness(protocol string) map[string]float64 - UseGateway(name string) error + UseGateway(name string) GetCurrentGateway() string GetCurrentLocation() string UseTransport(transport string) error |