queue

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// QName is machinery task queue
	QName = "machinery_tasks"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector added in v0.1.10

type Connector struct {
	Server *machinery.Server
	// contains filtered or unexported fields
}

Connector is used to connect to the queue

func NewQueueConnector

func NewQueueConnector(dialer string) *Connector

NewQueueConnector creates a new queue connector

func (*Connector) StartWorker added in v0.1.10

func (qc *Connector) StartWorker()

StartWorker - starts worker to process registered tasks

func (*Connector) StopWorker added in v0.9.0

func (qc *Connector) StopWorker()

StopWorker stops the worker and prevents it from consuming more tasks.

Jump to

Keyboard shortcuts

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