Registry / observability / troian-healthcheck

troian-healthcheck

JSON →
library0.1.3gogounverified

Helps implement Kubernetes liveness and readiness checks with synchronous and asynchronous modes, plus Prometheus metrics.

go get github.com/troian/healthcheck
INSTALL
IMPORT
SIG · TROIAN-HEALTHCHECK
T
troian-healthcheck
observabilitygov0.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

healthcheck
github.com/troian/healthcheck

Creates a health check instance, adds an HTTP readiness check, and checks readiness.

package main import ( "fmt" "github.com/troian/healthcheck" ) func main() { hc := healthcheck.New() hc.AddReadinessCheck("http", healthcheck.HTTPCheck("https://example.com", 200)) fmt.Println(hc.Ready()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.3latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
Amazon
1
OpenAI (training)
1
Resources
troian-healthcheck — go get troian-healthcheck · libregistry