lastdata

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const RunnerName = "lastdata"

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(store persistence.Storage, transport LastDataTransporter) *Client

func (*Client) Name

func (c *Client) Name() string

func (*Client) Run

func (c *Client) Run(ctx context.Context, network, chainID, version string) error

type LastDataTransporter

type LastDataTransporter interface {
	GetLastData(context.Context, structs.LatestDataRequest) (structs.LatestDataResponse, error)
}

Jump to

Keyboard shortcuts

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