health

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthResult

type HealthResult struct {
	OK     bool
	Detail string
}

HealthResult is the parsed output from a health probe.

func ParseHealthJSON

func ParseHealthJSON(stdout []byte) (*HealthResult, error)

ParseHealthJSON extracts health status from stdout bytes. Handles leading noise by scanning for the first '{' character.

Jump to

Keyboard shortcuts

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