summaryrefslogtreecommitdiff
path: root/gui/backend.go
diff options
context:
space:
mode:
Diffstat (limited to 'gui/backend.go')
-rw-r--r--gui/backend.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/backend.go b/gui/backend.go
index d4f5738..38f40a8 100644
--- a/gui/backend.go
+++ b/gui/backend.go
@@ -48,6 +48,11 @@ func UseTransport(transport string) {
backend.UseTransport(transport)
}
+//export GetTransport
+func GetTransport() *C.char {
+ return (*C.char)(backend.GetTransport())
+}
+
//export Quit
func Quit() {
backend.Quit()