Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func New ¶
New create a pool with fix number of goroutine, if maxActive is 0, there is no limit of goroutine number
func (*Pool) Close ¶
func (p *Pool) Close()
Close stop receive new job, and waiting for all exists jobs to be processed
Click to show internal directories.
Click to hide internal directories.