aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/messages.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-18 04:15:23 +0800
committerFelix Lange <fjl@twurst.com>2015-03-18 04:15:23 +0800
commit786a58d8b0188700edec824f74606a3980132f50 (patch)
treecf247ed9ca2038e9a11d000ad03b2c75b9056195 /rpc/messages.go
parent9663493ba0d493ec62153e725b5d30340f2aa525 (diff)
parent17cd7a5817ce4acbfb85ebe1977952027167bd1c (diff)
downloaddexon-786a58d8b0188700edec824f74606a3980132f50.tar
dexon-786a58d8b0188700edec824f74606a3980132f50.tar.gz
dexon-786a58d8b0188700edec824f74606a3980132f50.tar.bz2
dexon-786a58d8b0188700edec824f74606a3980132f50.tar.lz
dexon-786a58d8b0188700edec824f74606a3980132f50.tar.xz
dexon-786a58d8b0188700edec824f74606a3980132f50.tar.zst
dexon-786a58d8b0188700edec824f74606a3980132f50.zip
Merge pull request #485 from ethersphere/frontier/nodeadmin.js
Frontier console node admin interface
Diffstat (limited to 'rpc/messages.go')
-rw-r--r--rpc/messages.go12
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"`
}