Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StatBreaker ¶
StatBreaker state errors for breaker
Types ¶
type BreakerManager ¶
type BreakerManager struct { Breakers map[string]*Breaker // contains filtered or unexported fields }
TOOD 简单计数法实现熔断操作,后续改为滑动窗口或三方组件的方式
Click to show internal directories.
Click to hide internal directories.