Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOpts defaultOpts
View Source
var (
OpenStateErr = errors.New("Circuit breaker is opened ")
)
Functions ¶
func NewCircuitBreaker ¶
func NewCircuitBreaker(conf *Config) *defaultCircuitBreaker
func NewSettings ¶
func NewSettings() *defaultSettings
Types ¶
type CircuitBreaker ¶
Click to show internal directories.
Click to hide internal directories.