Anton Kaliaev
a14ff5cb30
Closes https://github.com/tendermint/tendermint/issues/3857 Moves `lib/` folder to `jsonrpc/`. Renames: **packages** `rpc` package -> `jsonrpc` package `rpcclient` package -> `client` package `rpcserver` package -> `server` package **structs and interfaces** ``` JSONRPCClient to Client JSONRPCRequestBatch to RequestBatch JSONRPCCaller to Caller ``` **functions** ``` StartHTTPServer to Serve StartHTTPAndTLSServer to ServeTLS rpc/jsonrpc/client: rename NewURIClient to NewURI NewJSONRPCClient to New NewJSONRPCClientWithHTTPClient to NewWithHTTPClient NewWSClient to NewWS ``` **misc** - unexpose `ResponseWriterWrapper` - remove unused http_params.go |
5 years ago | |
---|---|---|
.. | ||
client | rpc: refactor lib folder (#4836) | 5 years ago |
server | rpc: refactor lib folder (#4836) | 5 years ago |
test | rpc: refactor lib folder (#4836) | 5 years ago |
types | rpc: refactor lib folder (#4836) | 5 years ago |
doc.go | rpc: refactor lib folder (#4836) | 5 years ago |
jsonrpc_test.go | rpc: refactor lib folder (#4836) | 5 years ago |