type
ReadinessCheck
A bounded repeatable custom readiness dependency check.
ctxcontext.Context- The readiness deadline and cancellation context.
Returns error Nil when ready or an error describing the unavailable dependency.
Checks must be read-only, repeatable, and honor context cancellation. Add them through HandlerOptions.ReadinessChecks.