package
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Apr 8, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Go(goroutine func())
Go starts a recoverable goroutine.
func GoWithRecover(goroutine func(), customRecover func(err interface{}))
GoWithRecover starts a recoverable goroutine using given customRecover() function.
OperationWithRecover wrap a backoff operation in a Recover.
Pool is a pool of go routines.
func (p *Pool) GoCtx(goroutine routineCtx)
GoCtx starts a recoverable goroutine with a context.
Stop stops all started routines, waiting for their termination.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.