type
ReadinessCheck
A bounded repeatable custom readiness dependency check.
Properties
| Property | Type | Description |
|---|---|---|
ctx | context.Context | The readiness deadline and cancellation context. |
Returns
Nil when ready or an error describing the unavailable dependency.
errorHow it works
Checks must be read-only, repeatable, and honor context cancellation. Add them through HandlerOptions.ReadinessChecks.