package
Version:
v0.0.0-...-a5c5f28
Opens a new window with list of versions in this module.
Published: May 22, 2019
License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Jobs Handle multiple jobs
enqueuing in buffered channel
func (jobs *Jobs) Close()
Close close job channel
Get gets a job from the buffered channel
if error is returned Close() function have
been called
Len Gets the length of jobs to do
Open creates jobs channel
func (jobs *Jobs) Put(job interface{})
Put send job to channel
Source Files
¶
Click to show internal directories.
Click to hide internal directories.