ubgo is in early alpha: libraries and APIs may still change.

Skip to content
ubgo Alpha

health

Thread-safe health and readiness registry with k8s-style probes, framework adapters and ready-made checkers.

go get github.com/ubgo/health
Language
Go
Go version
1.24
Core deps
0 direct
Latest tag
v0.1.0
License
Apache-2.0
Go modules
13

How it fits together

Code from the README

reg := health.NewRegistry()
reg.Register(healthredis.New("cache", redisClient))     // CHECKER
reg.Register(healthpostgres.New("db",  pgxPool))        // CHECKER
healthotel.Register(reg)                                // OBSERVER
healthgin.Mount(r, reg)                                 // RENDERER

From the health README.

At a glance (from the README)

AdapterModule path
health-nethttpgithub.com/ubgo/health/contrib/health-nethttp
health-gingithub.com/ubgo/health/contrib/health-gin
health-chigithub.com/ubgo/health/contrib/health-chi
health-echogithub.com/ubgo/health/contrib/health-echo
health-fibergithub.com/ubgo/health/contrib/health-fiber