health

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHealthServer

func NewHealthServer(port int, chains []core.Chain, blockTimeout int) *httpMetricServer

NewHealthServer creates a new server with unique endpoints for each chain based on chain name.

Types

type ChainStats

type ChainStats struct {
	ChainId     msg.ChainId `json:"chainId"`
	Height      *big.Int    `json:"height"`
	LastUpdated time.Time   `json:"lastUpdated"`
}

Jump to

Keyboard shortcuts

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