Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExponentialBackOff ¶
func ExponentialBackOff(bk *ExponentialBacker, cb Callback)
func ExponentialBackOffSync ¶
func ExponentialBackOffSync(bk *ExponentialBacker) (interface{}, error)
Types ¶
type ExponentialBacker ¶
type ExponentialBacker struct { Debug bool Do Producer RetryCount uint32 StatusCheck StatusChecker }
func NewUrlGetter ¶
func NewUrlGetter(url string, retryCount uint32) *ExponentialBacker
type StatusChecker ¶
type StatusChecker func(q interface{}) (ok, retryable bool)
Click to show internal directories.
Click to hide internal directories.