queues

package
v0.0.0-...-828e842 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RabbitMQConnection

type RabbitMQConnection struct {
	amqp.Connection
}

RabbitMQConnection wrapper around amqp.Connection

func NewRabbitMQConnection

func NewRabbitMQConnection(conn *amqp.Connection) *RabbitMQConnection

NewRabbitMQConnection initializes a wrapper around an amqp.Connection

func (*RabbitMQConnection) ConsumeQueueWithChannel

func (c *RabbitMQConnection) ConsumeQueueWithChannel(queue string, ch *amqp.Channel) (<-chan amqp.Delivery, error)

ConsumeQueueWithChannel consumes a RabbitMQConnection queue with predefined settings from a provided amqp.Channel

func (*RabbitMQConnection) PublishEventsTrackingTask

func (c *RabbitMQConnection) PublishEventsTrackingTask(payload []byte) error

PublishEventsTrackingTask publishes a json payload to the tracking exchange

Jump to

Keyboard shortcuts

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