health

package
v0.2.17 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Probe added in v0.2.2

type Probe struct {
	Hostname string
	Probes   []HealthProbe.HealthProbe `json:"probes"`
}

func NewHealthProbe added in v0.2.2

func NewHealthProbe(hostname string) *Probe

func (*Probe) Health added in v0.2.2

func (p *Probe) Health() *ServiceHealth

type ServiceHealth added in v0.2.2

type ServiceHealth struct {
	Hostname string `json:"hostname"`

	RawStatus HealthProbe.Status `json:"rawStatus"`
	Status    string             `json:"status"`
}

TODO: Add version to the health probe

Jump to

Keyboard shortcuts

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