Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Breaker ¶
type Breaker interface { // Do runs the workFn with breaker. Do(workFn func() error) error // IsErrBerakerOpen check if the error due breaker open / not. IsErrBerakerOpen(err error) bool }
Breaker provides list of standard's breaker functions.
type Config ¶
type Config struct {
Eapache *Eapache
}
Config provides list of breaker's vendor that can be used. It will prioritize from top to bottom and only choose one.
Click to show internal directories.
Click to hide internal directories.