Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoSleep ¶
DoSleep retries calling function f n-times and sleeps for d after each call. It returns an error if none of the tries succeeds.
func ForeverSleep ¶
ForeverSleep keeps trying to call function f until it succeeds, and sleeps after each failure.
Types ¶
Click to show internal directories.
Click to hide internal directories.