Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TaskWorker ¶
type TaskWorker interface {
WorkerCount() int
SetCallback(func(int, interface{})) error
SetSource(*queue.RingBuffer) error
Invoke(interface{}) error
Start()
Close()
}
TaskWorker defined common behaviour for different worker
Click to show internal directories.
Click to hide internal directories.