Versions in this module Expand all Collapse all v0 v0.3.2 Nov 9, 2018 Changes in this version + var ErrBreakerOpen = errors.New("circuit breaker is open") + type Breaker struct + func New(errorThreshold, successThreshold int, timeout time.Duration) *Breaker + func (b *Breaker) Go(work func() error) error + func (b *Breaker) Run(work func() error) error