Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { FreeWorkers chan *Worker Tasks chan interface{} Done chan bool TimeProcess chan int64 LastProcess int64 TotalTimeOut int64 }
manager model
func (*Manager) AssignTask ¶
assign task to free worker
func (*Manager) InProgress ¶
check if a task still in progress to wait it till finish
Click to show internal directories.
Click to hide internal directories.