TaskQueue

package
v0.0.0-...-e4e8516 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2016 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateQueue

func CreateQueue(ch *amqp.Channel, queueName string) (err error)

CreateQueue declares durable queues

func CreateTaskToAnalyzeCatalog

func CreateTaskToAnalyzeCatalog(ch *amqp.Channel, catalogID int64) (err error)

CreateTaskToAnalyzeCatalog creates a rabbitMQ task for a worker to pick up

func CreateTaskToAnalyzeFile

func CreateTaskToAnalyzeFile(ch *amqp.Channel, fileID int64) (err error)

CreateTaskToAnalyzeFile creates a rabbitMQ task for a worker to pick up

func QueueTask

func QueueTask(ch *amqp.Channel, channelName string, msg []byte) error

QueueTask sends the message to the queueing server

Types

This section is empty.

Jump to

Keyboard shortcuts

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