datanode

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataNodeClient

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

func NewDataNodeClient

func NewDataNodeClient(apiURL string) *DataNodeClient

func (*DataNodeClient) GetNetworkHistorySegments

func (c *DataNodeClient) GetNetworkHistorySegments() ([]*NetworkHistorySegment, error)

type NetworkHistorySegment

type NetworkHistorySegment struct {
	Height    int64  `db:"height"`
	SegmentId string `db:"segment_id"`
	DataNode  string `db:"data_node"`
}

Jump to

Keyboard shortcuts

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