health

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(healthStatus *Health, master *node.Master) *API

func (*API) Mount

func (h *API) Mount(root *mux.Router, pathPrefix string)

type Health

type Health struct {
	// contains filtered or unexported fields
}

func New

func New(repo *chain.Repository, p2p *comm.Communicator) *Health

func (*Health) Status

func (h *Health) Status(blockTolerance time.Duration, minPeerCount int, master *node.Master) (*api.HealthStatus, error)

Jump to

Keyboard shortcuts

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