Documentation ¶
Index ¶
- func NewCommonRPC(addr string, requestHeader http.Header) (api.Common, jsonrpc.ClientCloser, error)
- func NewFullNodeRPC(addr string, requestHeader http.Header) (api.FullNode, jsonrpc.ClientCloser, error)
- func NewStorageMinerRPC(addr string, requestHeader http.Header) (api.StorageMiner, jsonrpc.ClientCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommonRPC ¶
NewCommonRPC creates a new http jsonrpc client.
func NewFullNodeRPC ¶
func NewFullNodeRPC(addr string, requestHeader http.Header) (api.FullNode, jsonrpc.ClientCloser, error)
NewFullNodeRPC creates a new http jsonrpc client.
func NewStorageMinerRPC ¶
func NewStorageMinerRPC(addr string, requestHeader http.Header) (api.StorageMiner, jsonrpc.ClientCloser, error)
NewStorageMinerRPC creates a new http jsonrpc client for storage miner
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.