interface
HealthBackend
Optional production readiness check for the storage dependency.
Properties
| Property | Type | Description |
|---|---|---|
Ping | func(context.Context) error | The Ping value. |
How it works
Ridu includes Ping in /readyz when available. Keep it context-bounded, read-only, and safe to call repeatedly.
Full signature
type HealthBackend interface {
Ping(context.Context) error
}