dero

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: MIT Imports: 8 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 {
	// contains filtered or unexported fields
}

func New

func New(addr string) (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) Echo

func (c *Client) Echo(msg string) (string, error)

func (*Client) GetBlockHeaderByTopoHeight added in v0.2.0

func (c *Client) GetBlockHeaderByTopoHeight(ctx context.Context, height uint64) (*derorpc.GetBlockHeaderByHeight_Result, error)

func (*Client) GetConnections added in v0.2.0

func (c *Client) GetConnections(ctx context.Context) (*derorpc.GetConnectionResult, error)

func (*Client) GetHeight

func (*Client) GetInfo

func (c *Client) GetInfo(ctx context.Context) (*derorpc.GetInfo_Result, error)

func (*Client) GetPeers

func (c *Client) GetPeers(ctx context.Context) (*derorpc.GetPeersResult, error)

func (*Client) GetTxPool

func (c *Client) GetTxPool(ctx context.Context) (*derorpc.GetTxPool_Result, error)

Jump to

Keyboard shortcuts

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