execution

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartUpdater

func StartUpdater(state *common.State, addr string, timeout int64, jwtPath string)

Types

type Block added in v1.1.0

type Block struct {
	Timestamp string `json:"timestamp"`
	Number    string `json:"number"`
}

type JsonResultBlock added in v1.1.0

type JsonResultBlock struct {
	Result Block `json:"result"`
}

type JsonResultBool

type JsonResultBool struct {
	Result bool `json:"result"`
}

type JsonResultString

type JsonResultString struct {
	Result string `json:"result"`
}

type JsonResultSync

type JsonResultSync struct {
	Result SyncInfo `json:"result"`
}

json unmarshal helper

type SyncInfo

type SyncInfo struct {
	CurrentBlockHex string `json:"currentBlock"`
	HighestBlockHex string `json:"highestBlock"`
}

json unmarshal helpers

Jump to

Keyboard shortcuts

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