client

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2019 License: Apache-2.0, MIT Imports: 4 Imported by: 50

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommonRPC

func NewCommonRPC(addr string, requestHeader http.Header) (api.Common, jsonrpc.ClientCloser, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL