Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source interface {
Pump(chan<- Work)
}
Sources of work implement Pump to send work on its provided channel.
type WorkGroup ¶
type WorkGroup interface {
// A WorkGroup is a Source
Source
// A WorkGroup can Drain a Source
Drain(Source) WorkGroup
// A WorkGroup assigns a worker
Configure(Initializer) WorkGroup
// A WorkGroup assigns a worker
With(Worker) WorkGroup
// A WorkGroup can be started
Go()
// contains filtered or unexported methods
}
The things a WorkGroup can do.
Click to show internal directories.
Click to hide internal directories.
