State dumps from gui
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user