From 215f4d5bd92921c9f538497d2c7e19741c66139a Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Wed, 18 Nov 2020 22:35:34 +0400 Subject: [PATCH] Move RPC Response from solana/types to rpc/types --- rpc/{solana/types/error.go => types/rpc_error.go} | 0 rpc/{solana/types/response.go => types/rpc_response_body.go} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename rpc/{solana/types/error.go => types/rpc_error.go} (100%) rename rpc/{solana/types/response.go => types/rpc_response_body.go} (82%) diff --git a/rpc/solana/types/error.go b/rpc/types/rpc_error.go similarity index 100% rename from rpc/solana/types/error.go rename to rpc/types/rpc_error.go diff --git a/rpc/solana/types/response.go b/rpc/types/rpc_response_body.go similarity index 82% rename from rpc/solana/types/response.go rename to rpc/types/rpc_response_body.go index 849f8ab..5496273 100644 --- a/rpc/solana/types/response.go +++ b/rpc/types/rpc_response_body.go @@ -1,6 +1,6 @@ package types -type SolanaResponse struct { +type RPCResponseBody struct { Jsonrpc string `json:"jsonrpc"` Result []byte `json:"result"` Error Error `json:"error"`