multiclient

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0 Imports: 3 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 interface {
	GetLatestBlockHeight() (int64, error)
}

type MultiClient

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

func New

func New(clients []Client) *MultiClient

func (*MultiClient) BestClient

func (m *MultiClient) BestClient() Client

Jump to

Keyboard shortcuts

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