summaryrefslogtreecommitdiff
path: root/gui/backend.go
diff options
context:
space:
mode:
Diffstat (limited to 'gui/backend.go')
-rw-r--r--gui/backend.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/backend.go b/gui/backend.go
index 38f40a8..04d1293 100644
--- a/gui/backend.go
+++ b/gui/backend.go
@@ -43,9 +43,9 @@ func UseAutomaticGateway() {
backend.UseAutomaticGateway()
}
-//export UseTransport
-func UseTransport(transport string) {
- backend.UseTransport(transport)
+//export SetTransport
+func SetTransport(transport string) {
+ backend.SetTransport(string(transport))
}
//export GetTransport