Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GoWithRecover ¶
func GoWithRecover(goroutine func(), customRecover func(err interface{}))
GoWithRecover starts a recoverable goroutine using given customRecover() function
func OperationWithRecover ¶
func OperationWithRecover(operation backoff.Operation) backoff.Operation
OperationWithRecover wrap a backoff operation in a Recover
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool is a pool of go routines
Click to show internal directories.
Click to hide internal directories.