Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkerPool ¶
type WorkerPool struct { Result chan Result // contains filtered or unexported fields }
func New ¶
func New(workerNum int) *WorkerPool
func (*WorkerPool) Push ¶
func (wp *WorkerPool) Push(task ...Task)
Click to show internal directories.
Click to hide internal directories.