e3da85faed
* proper 0xhex * filters fixed * start of filter manager * accounts for ws. Closes #246
16 lines
358 B
Go
16 lines
358 B
Go
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"`
|
|
Event string `json:"_event"`
|
|
}
|
|
|
|
func (self *Message) Arguments() *ethutil.Value {
|
|
return ethutil.NewValue(self.Args)
|
|
}
|