client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHarmonyOneClient

func NewHarmonyOneClient(nodeURL string, httpClient *http.Client, logger *zap.Logger) *harmonyOneClient

NewHarmonyOneClient creates a new HarmonyOneClient implementation that will connect to a given Harmony One node to pull header and blockchain data.

Types

type Error

type Error struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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