aboutsummaryrefslogtreecommitdiffstats
path: root/websocket/message.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-10 07:51:56 +0800
committerobscuren <geffobscura@gmail.com>2015-01-10 07:51:56 +0800
commite3da85faedf21a3ddb73a0fa29decf65364e6c39 (patch)
tree516faf70a5346bec9016bbdd308b6bcc23d5bccb /websocket/message.go
parent491c23a728e4f5cdedfa040aded6a6b136f6bee0 (diff)
downloaddexon-e3da85faedf21a3ddb73a0fa29decf65364e6c39.tar.gz
dexon-e3da85faedf21a3ddb73a0fa29decf65364e6c39.tar.zst
dexon-e3da85faedf21a3ddb73a0fa29decf65364e6c39.zip
Implemented filter for ws + fixes
* proper 0xhex * filters fixed * start of filter manager * accounts for ws. Closes #246
Diffstat (limited to 'websocket/message.go')
-rw-r--r--websocket/message.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/websocket/message.go b/websocket/message.go
index 73b47456f..cd2af5099 100644
--- a/websocket/message.go
+++ b/websocket/message.go
@@ -3,10 +3,11 @@ package websocket
import "github.com/ethereum/go-ethereum/ethutil"
type Message struct {
- Call string `json:"call"`
- Args []interface{} `json:"args"`
- Id int `json:"_id"`
- Data interface{} `json:"data"`
+ Call string `json:"call"`
+ Args []interface{} `json:"args"`
+ Id int `json:"_id"`
+ Data interface{} `json:"data"`
+ Event string `json:"_event"`
}
func (self *Message) Arguments() *ethutil.Value {