cxo
cxo copied to clipboard
Refactor RPC implementation
- UDP transport will be removed.
- TCP transport will be merged into Node.
Hence, RPC implementation has to be refactored. It must contain only two public objects:
-
RPC
- rpc server, based on net/rpc. -
RPCClient
- rpc client, based on net/rpc.
There is no need to split methods of RPCClient
into 3 separate groups, like RootRPC
, NodeRPC
and TransportRPC
.
Note, that net/rpc is frozen.