Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxRetries = 10
MaxRetries is the maximum number of retries before bailing.
Functions ¶
func Do ¶
Do keeps trying the function until the second argument returns false, or no error is returned.
func IsMaxRetries ¶
IsMaxRetries checks whether the error is due to hitting the maximum number of retries or not.
Types ¶
Click to show internal directories.
Click to hide internal directories.