client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2021 License: Apache-2.0, MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Epoch       epochClient
	Deal        dealClient
	Miner       minerClient
	Transaction transactionClient
	Account     accountClient
	// contains filtered or unexported fields
}

Client fetches data from a Filecoin node

func New

func New(endpoint string, timeout time.Duration) (*Client, error)

New creates a JSON RPC client

func (*Client) Close

func (c *Client) Close()

Close closes the websocket connection

Jump to

Keyboard shortcuts

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