Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Vector ¶
type Vector interface {
// Push used to put worker to the vector
Push(worker.BaseProcess)
// Pop used to get worker from the vector
Pop(ctx context.Context) (worker.BaseProcess, error)
// Remove worker with provided pid
Remove(pid int64)
// Destroy used to stop releasing the workers
Destroy()
Reset()
}
Vector interface represents vector container
Click to show internal directories.
Click to hide internal directories.