amqp

package
v0.0.0-...-382240b Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2014 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AmqpPublisher

func AmqpPublisher(cfg *config.Configuration, id int, amqpStatus chan int, amqpMessages chan []byte)

func AmqpWorker

func AmqpWorker(cfg *config.Configuration, workId int, amqpStatus chan int)

func CleanupConnection

func CleanupConnection(workerId string, connection *amqp.Connection)

func ConsumeQueue

func ConsumeQueue(connection *amqp.Connection, exchange string, exchangeType string, bindingKey string, queueName string, tag string, handler queueHandler)

func OpenConnection

func OpenConnection(amqpURI string, workerId string) (*amqp.Connection, error)

func Reconnect

func Reconnect(amqpURI string, workerId string, conn *amqp.Connection, err *amqp.Error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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