package
1.8.1
Repository: https://github.com/zeromicro/go-zero.git
Documentation: pkg.go.dev

# Functions

Do calls Breaker.Do on the Breaker with given name.
DoCtx calls Breaker.DoCtx on the Breaker with given name.
DoWithAcceptable calls Breaker.DoWithAcceptable on the Breaker with given name.
DoWithAcceptableCtx calls Breaker.DoWithAcceptableCtx on the Breaker with given name.
DoWithFallback calls Breaker.DoWithFallback on the Breaker with given name.
DoWithFallbackAcceptable calls Breaker.DoWithFallbackAcceptable on the Breaker with given name.
DoWithFallbackAcceptableCtx calls Breaker.DoWithFallbackAcceptableCtx on the Breaker with given name.
DoWithFallbackCtx calls Breaker.DoWithFallbackCtx on the Breaker with given name.
GetBreaker returns the Breaker with the given name.
NewBreaker returns a Breaker object.
NoBreakerFor disables the circuit breaker for the given name.
NopBreaker returns a breaker that never trigger breaker circuit.
WithName returns a function to set the name of a Breaker.

# Variables

ErrServiceUnavailable is returned when the Breaker state is open.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author