Documentation
¶
Index ¶
Constants ¶
View Source
const DefTimeout = 24 * time.Hour
DefTimeout is used as timeout for runs when the passed context has no deadline set.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Retryer ¶
type Retryer struct {
// contains filtered or unexported fields
}
Retryer executes a function repeatedly until it was successful or it's context was cancelled.
func NewRetryer ¶
func NewRetryer() *Retryer
Click to show internal directories.
Click to hide internal directories.