diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-18 04:27:34 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-18 04:27:34 +0800 |
commit | 917050dc30d8717d7e0bba1257165c1aec44887f (patch) | |
tree | 712f8823391286438a0e5c3d1f53c4682254650e /rpc/messages.go | |
parent | fe819f3b9f7a2d8d842c53b7269ccceace533569 (diff) | |
parent | 53104b09fa823cb5457960b8518b9650a5b083da (diff) | |
download | dexon-917050dc30d8717d7e0bba1257165c1aec44887f.tar dexon-917050dc30d8717d7e0bba1257165c1aec44887f.tar.gz dexon-917050dc30d8717d7e0bba1257165c1aec44887f.tar.bz2 dexon-917050dc30d8717d7e0bba1257165c1aec44887f.tar.lz dexon-917050dc30d8717d7e0bba1257165c1aec44887f.tar.xz dexon-917050dc30d8717d7e0bba1257165c1aec44887f.tar.zst dexon-917050dc30d8717d7e0bba1257165c1aec44887f.zip |
Merge branch 'develop' into rpcfrontier
Diffstat (limited to 'rpc/messages.go')
-rw-r--r-- | rpc/messages.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rpc/messages.go b/rpc/messages.go index 781394196..7f5ebab11 100644 --- a/rpc/messages.go +++ b/rpc/messages.go @@ -83,21 +83,21 @@ func NewValidationError(param string, msg string) error { } type RpcRequest struct { - ID interface{} `json:"id"` - JsonRpc string `json:"jsonrpc"` + Id interface{} `json:"id"` + Jsonrpc string `json:"jsonrpc"` Method string `json:"method"` Params json.RawMessage `json:"params"` } type RpcSuccessResponse struct { - ID interface{} `json:"id"` - JsonRpc string `json:"jsonrpc"` + Id interface{} `json:"id"` + Jsonrpc string `json:"jsonrpc"` Result interface{} `json:"result"` } type RpcErrorResponse struct { - ID interface{} `json:"id"` - JsonRpc string `json:"jsonrpc"` + Id interface{} `json:"id"` + Jsonrpc string `json:"jsonrpc"` Error *RpcErrorObject `json:"error"` } |