From c03a9b4fe9394985b37817349d3b8a1c539b8ea1 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 1 Nov 2017 18:15:48 +0900 Subject: [PATCH] ing --- protocol/json/client.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/protocol/json/client.go b/protocol/json/client.go index 112ed1d..0707904 100644 --- a/protocol/json/client.go +++ b/protocol/json/client.go @@ -32,10 +32,10 @@ type clientRequest struct { // clientResponse represents a JSON-RPC response returned to a client. type clientResponse struct { - Version string `json:"jsonrpc"` - Result *json.RawMessage `json:"result"` - Error error `json:"error"` - ID interface{} `json:"id"` + Version string `json:"jsonrpc"` + Result interface{} `json:"result"` + Error error `json:"error"` + ID interface{} `json:"id"` } // clientRequest represents a JSON-RPC request sent by a client.