workers

package
v0.0.0-...-e75809f Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: GPL-3.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config *config.Config

Config ...

View Source
var Enqueuer = work.NewEnqueuer(redisNamespace, redisPool)

Enqueuer ...

Pool ...

Functions

func Log

func Log(job *work.Job, next work.NextMiddlewareFunc) error

Log ...

func RegisterJob

func RegisterJob(name string, function func(*work.Job) error)

RegisterJob ...

Types

type Workers

type Workers struct{}

Workers ...

func (*Workers) Initialize

func (w *Workers) Initialize(config *config.Config)

Initialize ...

func (*Workers) Shutdown

func (w *Workers) Shutdown()

Shutdown ...

Directories

Path Synopsis
jobs

Jump to

Keyboard shortcuts

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