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.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool is a pool of go routines.
func (*Pool) Go ¶
func (p *Pool) Go(goroutine routineCtx)
Go starts a recoverable goroutine with a context.
Click to show internal directories.
Click to hide internal directories.