# Functions
Do calls Breaker.Do on the Breaker with given name.
DoWithAcceptable calls Breaker.DoWithAcceptable 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.
ForAtomicDuration returns an AtomicDuration with given value.
GetBreaker returns the Breaker with the given name.
MinInt returns the smaller one of a and b.
NewAtomicDuration returns an AtomicDuration.
NewBreaker returns a Breaker object.
NewProba returns a Proba.
NewResourceManager returns a ResourceManager.
NewRollingWindow returns a RollingWindow that with size buckets and time interval, use opts to customize the RollingWindow.
NewSingleFlight returns a SingleFlight.
NoBreakerFor disables the circuit breaker for the given name.
No description provided by the author
Pid returns pid of current process.
ProcessName returns the processname, same as the command name.
Rand returns a random string.
Randn returns a random string with length n.
Since returns a diff since given d.
WithName returns a function to set the name of a Breaker.
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
A ResourceManager is a manager that used to manage resources.
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
An AtomicDuration is an implementation of atomic duration.
No description provided by the author
No description provided by the author