Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TaskQueue chan Task
View Source
var TaskWorkerQueue chan chan Task
Functions ¶
func StartTaskDispatcher ¶
func StartTaskDispatcher(taskWorkerSize int)
Types ¶
type TaskWorker ¶
func NewTaskWorker ¶
func NewTaskWorker(id int, taskWorkerQueue chan chan Task) TaskWorker
func (*TaskWorker) Start ¶
func (t *TaskWorker) Start()
Click to show internal directories.
Click to hide internal directories.