summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/backend.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/backend.go b/gui/backend.go
index 96f50de..3e312cf 100644
--- a/gui/backend.go
+++ b/gui/backend.go
@@ -30,6 +30,16 @@ func SwitchOff() {
backend.SwitchOff()
}
+//export UseGateway
+func UseGateway(label string) {
+ backend.UseGateway(label)
+}
+
+//export UseTransport
+func UseTransport(transport string) {
+ backend.UseTransport(transport)
+}
+
//export Quit
func Quit() {
backend.Quit()