package
Version:
v0.0.0-...-432c02d
Opens a new window with list of versions in this module.
Published: Jun 2, 2015
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Balancer
Рабочая функция балансировщика получает аргументом канал уведомлений от главного цикла
Инициализируем балансировщик. Аргументом получаем канал по которому приходят задания
type JobFunc func(interface{})
Heap
Less - mean worker with lowest jobs count
func (p *Pool) Pop() interface{}
Pop Job
func (p *Pool) Push(x interface{})
Push Job
Source Files
¶
Click to show internal directories.
Click to hide internal directories.