Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(opts *Options)
func WithPanicHandler ¶
func WithPanicHandler(panicHandler func(err interface{})) Option
WithPanicHandler set panicHandler
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool goroutine pool
func (*Pool) ActiveWorkerNum ¶
ActiveWorkerNum get active worker number
Click to show internal directories.
Click to hide internal directories.