Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotAllowed = errors.New("circuitbreaker: not allowed for circuit open")
ErrNotAllowed error not allowed.
Functions ¶
This section is empty.
Types ¶
type CircuitBreaker ¶
type CircuitBreaker interface { Allow() error MarkSuccess() MarkFailed() }
CircuitBreaker is a circuit breaker.
Click to show internal directories.
Click to hide internal directories.