joque

package
v1.0.4-metrics Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2017 License: MIT Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(maxQueueSize int, maxWorkers int) chan Job

Setup creates and returns a job queue, and starts a dispatcher to process the queue

Types

type Job

type Job func()

Job is a unit of work to be processed by the job dispatcher.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL