client

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: BSD-3-Clause Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	BlockNumberRecord = rpc.BlockNumberRecord
	BlockNumberFreeze = rpc.BlockNumberFreeze
)

Variables

View Source
var ErrStatusNotOK = errors.New("not STATUSOK")

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(endpoint string) *Client

func (*Client) Cancel

func (c *Client) Cancel(id int) error

func (*Client) Execute

func (c *Client) Execute(method string, params ...interface{}) (int, error)

func (*Client) State

func (c *Client) State() (*rpc.State, error)

Jump to

Keyboard shortcuts

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