Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vec ¶
type Vec struct {
// contains filtered or unexported fields
}
func (*Vec) Enqueue ¶
func (v *Vec) Enqueue(w worker.BaseProcess)
type Vector ¶
type Vector interface { // Enqueue used to put worker to the vector Enqueue(worker.BaseProcess) // Dequeue used to get worker from the vector Dequeue() (worker.BaseProcess, bool) // Destroy used to stop releasing the workers Destroy() }
Vector interface represents vector container
Click to show internal directories.
Click to hide internal directories.