client

package
v0.9.6-0...-1e6c41b Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 5 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 NewClient

func NewClient(url string, httpClient *http.Client) *Client

func (*Client) Close

func (c *Client) Close() error

func (*Client) GetEvents

func (*Client) GetFeeStats

func (c *Client) GetFeeStats(ctx context.Context) (protocol.GetFeeStatsResponse, error)

func (*Client) GetHealth

func (c *Client) GetHealth(ctx context.Context) (protocol.GetHealthResponse, error)

func (*Client) GetLatestLedger

func (c *Client) GetLatestLedger(ctx context.Context) (protocol.GetLatestLedgerResponse, error)

func (*Client) GetLedgerEntries

func (*Client) GetLedgers

func (*Client) GetNetwork

func (c *Client) GetNetwork(ctx context.Context,
) (protocol.GetNetworkResponse, error)

func (*Client) GetTransaction

func (*Client) GetTransactions

func (*Client) GetVersionInfo

func (c *Client) GetVersionInfo(ctx context.Context) (protocol.GetVersionInfoResponse, error)

func (*Client) SendTransaction

Jump to

Keyboard shortcuts

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