Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultBreaker = "default"
Variables ¶
View Source
var StdLogger stdLogger
Functions ¶
func GetBreaker ¶
func GetBreaker(breakerName string) *gobreaker.TwoStepCircuitBreaker
func InitBreaker ¶
Types ¶
type Option ¶
type Option func(*option)
func WithBreakerCount ¶
func WithHalfOpenCount ¶
func WithInterval ¶
func WithOpenStatePeriod ¶
Click to show internal directories.
Click to hide internal directories.