diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-09-08 03:32:46 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-09-08 20:09:48 +0200 |
commit | a0e67fe3feb5b3a2d6d0f8e5f33ff96007955b17 (patch) | |
tree | cda0ca1934af399385c21a67fe56b55577c7c2a5 /gui | |
parent | e591c3147e3c504611ff612e8918018125ffa2eb (diff) |
[feat] lookup the config vars at runtime
- Resolves: #326
Diffstat (limited to 'gui')
-rw-r--r-- | gui/backend.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gui/backend.go b/gui/backend.go index a1dafe8..7632bb4 100644 --- a/gui/backend.go +++ b/gui/backend.go @@ -7,7 +7,6 @@ package main import ( "C" - "log" "unsafe" "0xacab.org/leap/bitmask-vpn/pkg/backend" @@ -55,9 +54,7 @@ func SubscribeToEvent(event string, f unsafe.Pointer) { //export InitializeBitmaskContext func InitializeBitmaskContext(provider string, jsonPtr unsafe.Pointer, jsonLen C.int) { - log.Println("DEBUG: provider=", provider) json := C.GoBytes(jsonPtr, jsonLen) - log.Println("DEBUG: json=", string(json)) opts := backend.InitOptsFromJSON(provider, string(json)) backend.InitializeBitmaskContext(opts) } |