Optional ReadonlycacheMilliseconds a resolved instance list is served from cache.
0 disables caching so every resolve hits the backend. A watched
service invalidates its own entry on every change, so this is a safety net
rather than the primary freshness mechanism.
ReadonlydiscoveryThe provider, used as supplied.
Optional ReadonlyejectionOutlier-ejection tuning, or false to disable ejection entirely.
ReadonlyproviderDiscriminant.
Optional ReadonlyselfAdvertise this instance to the backend (Consul only).
Optional ReadonlystrategyDefault selection strategy; PickOptions.strategy overrides it per call.
The
'custom'arm — the application's own backend.Since
0.2.0