From 1bd2637e3133d895d1e73931f8b3466a5761d9ef Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 28 May 2021 12:26:11 +0200 Subject: [feat] expose set transport webapi mainly for tests, but it's usable too --- pkg/bitmask/bitmask.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/bitmask') diff --git a/pkg/bitmask/bitmask.go b/pkg/bitmask/bitmask.go index 3f484e8..b430808 100644 --- a/pkg/bitmask/bitmask.go +++ b/pkg/bitmask/bitmask.go @@ -30,6 +30,8 @@ type Bitmask interface { ListLocationFullness(protocol string) map[string]float64 UseGateway(name string) UseAutomaticGateway() + GetTransport() string + SetTransport(string) error GetCurrentGateway() string GetCurrentLocation() string GetCurrentCountry() string -- cgit v1.2.3