ethclients

package
v0.0.0-...-b8dc01b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientsUpdated

func ClientsUpdated() bool

ClientsUpdated returns a boolean indicating if clients are updated

func GetUpdatedClients

func GetUpdatedClients() []clientUpdateInfo

GetUpdatedClients returns a slice of latest updated clients or empty slice if no updates

func Init

func Init()

Init starts a go routine to update the ETH Clients Info

Types

type EthClientServicesPageData

type EthClientServicesPageData struct {
	LastUpdate          time.Time
	Geth                EthClients
	Nethermind          EthClients
	Besu                EthClients
	Teku                EthClients
	Prysm               EthClients
	Nimbus              EthClients
	Lighthouse          EthClients
	Erigon              EthClients
	RocketpoolSmartnode EthClients
	MevBoost            EthClients
	Lodestar            EthClients
	Banner              string
	CsrfField           template.HTML
}

func GetEthClientData

func GetEthClientData() EthClientServicesPageData

GetEthClientData returns a EthClientServicesPageData

type EthClients

type EthClients struct {
	ClientReleaseVersion string
	ClientReleaseDate    string
	NetworkShare         string
	IsUserSubscribed     bool
}

Jump to

Keyboard shortcuts

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