Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedErrors ¶
AllowedErrors wraps the strategy.Interface with general Do method. It returns error if the error, returned by lambda is NOT in the list of provided errors.
func NewAllowedErrors ¶
func NewAllowedErrors(strtg strategy.Interface) *AllowedErrors
NewAllowedErrors makes new instance of AllowedErrors. If strategy=nil initializes with FixedDelay 5sec, 10 times.
Click to show internal directories.
Click to hide internal directories.