ing
This commit is contained in:
parent
d9973215da
commit
c664a1b420
|
@ -34,7 +34,7 @@ type clientRequest struct {
|
||||||
type clientResponse struct {
|
type clientResponse struct {
|
||||||
Version string `json:"jsonrpc"`
|
Version string `json:"jsonrpc"`
|
||||||
Result *json.RawMessage `json:"result"`
|
Result *json.RawMessage `json:"result"`
|
||||||
Error interface{} `json:"error"`
|
Error error `json:"error"`
|
||||||
ID interface{} `json:"id"`
|
ID interface{} `json:"id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ func (ccr *ClientCodecResponse) Result() interface{} {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ccr *ClientCodecResponse) Error() error {
|
func (ccr *ClientCodecResponse) Error() error {
|
||||||
return ccr.response.Error.(error)
|
return ccr.response.Error
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ccr *ClientCodecResponse) Complete() {
|
func (ccr *ClientCodecResponse) Complete() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user