package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: May 6, 2021
License: LGPL-3.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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.
type ChainStats struct {
ChainId msg.ChainId `json:"chainId"`
Height *big.Int `json:"height"`
LastUpdated time.Time `json:"lastUpdated"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.