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 faf682a..875706d 100644
--- a/gui/backend.go
+++ b/gui/backend.go
@@ -66,6 +66,11 @@ func InitializeTestBitmaskContext() {
backend.EnableMockBackend()
}
+//export EnableWebAPI
+func EnableWebAPI() {
+ backend.EnableWebAPI()
+}
+
//export RefreshContext
func RefreshContext() *C.char {
return (*C.char)(backend.RefreshContext())