Documentation ¶
Index ¶
Constants ¶
View Source
const ( RUNNING = 1 STOPED = 0 )
Variables ¶
View Source
var ErrInvalidPoolCap = errors.New("invalid pool cap")
View Source
var ErrPoolAlreadyClosed = errors.New("pool already closed")
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct { PanicHandler func(interface{}) //错误处理 // contains filtered or unexported fields }
func (*Pool) GetRunningWorkers ¶
Click to show internal directories.
Click to hide internal directories.