Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
Pipeline contains an array of worker pools of components.
func NewPipeline ¶
NewPipeline creates a new Pipeline. It uses factories to spawn workers and push them to the worker pool.
The output channel for a pool is the input channel for the next pool. The input channel for the first component is nil. The first component Handle function won't be called so it should not be implemented.
Click to show internal directories.
Click to hide internal directories.