diff options
Diffstat (limited to 'pkg/backend/api.go')
-rw-r--r-- | pkg/backend/api.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/backend/api.go b/pkg/backend/api.go index 0db26ae..e96c65b 100644 --- a/pkg/backend/api.go +++ b/pkg/backend/api.go @@ -83,6 +83,10 @@ func UseTransport(label string) { ctx.bm.UseTransport(label) } +func GetTransport() *C.char { + return C.CString(ctx.bm.GetTransport()) +} + func Quit() { if ctx.autostart != nil { ctx.autostart.Disable() |