From 4fca210846b28caf1372edb5ec0abe8193d3ff8b Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Wed, 24 Nov 2021 16:18:51 +0100 Subject: [feat] hook motd during bootstrap some refactor, plus fix docs --- 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 5597efb..d02487b 100644 --- a/pkg/bitmask/bitmask.go +++ b/pkg/bitmask/bitmask.go @@ -32,6 +32,7 @@ type Bitmask interface { GetBestLocation(protocol string) string UseGateway(name string) UseAutomaticGateway() + SetProvider(string) GetTransport() string SetTransport(string) error UseUDP(bool) error @@ -41,4 +42,6 @@ type Bitmask interface { IsManualLocation() bool NeedsCredentials() bool DoLogin(username, password string) (bool, error) + CanUpgrade() bool + GetMotd() string } -- cgit v1.2.3