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