mirror of
https://github.com/crazybber/go-pattern-examples.git
synced 2024-11-22 03:46:03 +03:00
remove FailureShoulder and SuccessShoulder
This commit is contained in:
parent
aecf5d10fd
commit
57c945fd94
@ -1,3 +1,11 @@
|
||||
/*
|
||||
* @Description: https://github.com/crazybber
|
||||
* @Author: Edward
|
||||
* @Date: 2020-06-02 23:57:40
|
||||
* @Last Modified by: Edward
|
||||
* @Last Modified time: 2020-06-02 23:57:40
|
||||
*/
|
||||
|
||||
package circuit
|
||||
|
||||
import (
|
||||
@ -22,8 +30,6 @@ type Options struct {
|
||||
MaxRequests uint32
|
||||
WhenToBreak BreakConditionWatcher //是否应该断开电路(打开电路开关)
|
||||
OnStateChanged StateChangedEventHandler
|
||||
SuccessShoulder uint32
|
||||
FailureShoulder uint32
|
||||
Ctx context.Context
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user