Documentation ¶
Overview ¶
author: foolbread file: pool/workpool.go date: 2017/6/16
a easy goroutine pool
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WorkPool ¶
type WorkPool struct {
// contains filtered or unexported fields
}
func NewWorkPool ¶
func (*WorkPool) CommitWork ¶
func (w *WorkPool) CommitWork(data interface{})
Click to show internal directories.
Click to hide internal directories.