diff options
author | Ruben Pollan <meskio@sindominio.net> | 2020-08-06 13:01:22 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2020-08-20 20:27:44 +0200 |
commit | 60a35bdde41e8648594dc6a501a11000081ff878 (patch) | |
tree | 20336cb66893e265c9125f66dc3e942ff8e1c467 /gui/backend.go | |
parent | 249a8844b1aaf2cd2bf6fddc8da10a4defb656d2 (diff) |
[pkg] add float-deployed demo libpvn for tests
Diffstat (limited to 'gui/backend.go')
-rw-r--r-- | gui/backend.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/backend.go b/gui/backend.go index 536ade3..a5cb3ab 100644 --- a/gui/backend.go +++ b/gui/backend.go @@ -22,6 +22,11 @@ func GetAppName() *C.char { return (*C.char)(backend.GetAppName()) } +//export Login +func Login(username, password *C.char) { + backend.Login(C.GoString(username), C.GoString(password)) +} + //export SwitchOn func SwitchOn() { backend.SwitchOn() |