mirror of
https://github.com/crazybber/go-pattern-examples.git
synced 2024-11-25 05:06:03 +03:00
add SuccessShoulder and FailureShoulder
This commit is contained in:
parent
d115e069aa
commit
a5d498c39c
@ -22,6 +22,8 @@ type Options struct {
|
||||
MaxRequests uint32
|
||||
WhenToBreak BreakConditionWatcher //是否应该断开电路(打开电路开关)
|
||||
OnStateChanged StateChangedEventHandler
|
||||
SuccessShoulder uint32
|
||||
FailureShoulder uint32
|
||||
Ctx context.Context
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user