From 4e1f3a4f88136e497962e4f976d5c7f216c31a15 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Wed, 24 Mar 2021 12:47:02 +0100 Subject: Let's rename the API to use location instead of gateway --- pkg/backend/actions.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'pkg/backend/actions.go') diff --git a/pkg/backend/actions.go b/pkg/backend/actions.go index 6e143f9..1860b09 100644 --- a/pkg/backend/actions.go +++ b/pkg/backend/actions.go @@ -20,14 +20,6 @@ func stopVPN() { } } -// TODO return bool? -func useGateway(label string) { - err := ctx.bm.UseGateway(label) - if err != nil { - log.Println(err) - } -} - func getGateway() string { return ctx.bm.GetCurrentGateway() } -- cgit v1.2.3