ing
This commit is contained in:
parent
c03a9b4fe9
commit
a8f6ae169e
|
@ -33,8 +33,8 @@ type clientRequest struct {
|
|||
// clientResponse represents a JSON-RPC response returned to a client.
|
||||
type clientResponse struct {
|
||||
Version string `json:"jsonrpc"`
|
||||
Result interface{} `json:"result"`
|
||||
Error error `json:"error"`
|
||||
Result interface{} `json:"result,omitempty"`
|
||||
Error error `json:"error,omitempty"`
|
||||
ID interface{} `json:"id"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user