diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2020-09-02 21:38:13 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-05-04 14:58:39 +0200 |
commit | 335bb742b957370bbf40ae77a661559805ab307f (patch) | |
tree | 3d8b9a8023b1bcca2b531bf57b1fd846916f4a8e /gui/backend.go | |
parent | 68f566cf7fddbe9e5eb08c4c07a76375148b682b (diff) |
[feat] expose gateway selection in webapi
Diffstat (limited to 'gui/backend.go')
-rw-r--r-- | gui/backend.go | 10 |
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() |