Skip to main content

Module breaker

Module breaker 

Source

Structs§

CircuitBreaker
Prevents calls to a dependency according to the configured policy.
CircuitBreakerConfig
Circuit-breaker behavior for an unreliable downstream dependency.
CircuitBreakerPermit
An admitted circuit-breaker call whose outcome may arrive later.
CircuitBreakerSnapshot
Current rolling history and lifetime outcome counters.
RollingCircuitBreakerConfig
Settings for the rolling adaptive policy.

Enums§

BreakerState
Externally visible circuit state.
CircuitBreakerError
An operation error or the rejection produced by an open circuit.
CircuitBreakerPolicy
Selects between the compatibility breaker and go-zero-style adaptive breaking.
CircuitOutcome
The observed completion of an admitted dependency call.