aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/html_container.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereal/html_container.go')
-rw-r--r--ethereal/html_container.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/ethereal/html_container.go b/ethereal/html_container.go
index e682dc3eb..69edea570 100644
--- a/ethereal/html_container.go
+++ b/ethereal/html_container.go
@@ -3,6 +3,7 @@ package main
import (
"encoding/json"
"errors"
+ "fmt"
"io/ioutil"
"net/url"
"os"
@@ -139,3 +140,8 @@ func (self *HtmlApplication) Messages(messages ethstate.Messages, id string) {
func (app *HtmlApplication) Destroy() {
app.engine.Destroy()
}
+
+func (app *HtmlApplication) Post(data string, seed int) {
+ fmt.Println("about to call 'post'")
+ app.webView.Call("post", seed, data)
+}