Documentation
¶
Index ¶
- func NewCommonRPC(ctx context.Context, addr string, requestHeader http.Header) (api.ICommon, jsonrpc.ClientCloser, error)
- func NewFullNodeRPC(ctx context.Context, addr string, requestHeader http.Header) (api.IFullAPI, jsonrpc.ClientCloser, error)
- func NewWalletRPC(ctx context.Context, addr string, requestHeader http.Header) (api.IWallet, jsonrpc.ClientCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommonRPC ¶
func NewFullNodeRPC ¶
func NewFullNodeRPC(ctx context.Context, addr string, requestHeader http.Header) (api.IFullAPI, jsonrpc.ClientCloser, error)
NewFullNodeRPC creates a new httpparse jsonrpc remotecli.
func NewWalletRPC ¶
func NewWalletRPC(ctx context.Context, addr string, requestHeader http.Header) (api.IWallet, jsonrpc.ClientCloser, error)
NewWalletRPC RPCClient returns an RPC client connected to a node @addr reference ./httpparse/ParseApiInfo() @requestHeader reference ./httpparse/ParseApiInfo()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.