package
Version:
v0.5.4
Opens a new window with list of versions in this module.
Published: Apr 3, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
Documentation
¶
Message contains the most basic about the message
NewMessage will create a new message from a byte slice and attributes
ToXAttrs takes amqp headers and convert them to attributes
type Override struct {
RoutingKey string
}
Override will be used to override RabbitMQ settings on publishing messages
RabbitMQ type for talking to RabbitMQ
func NewConsumer(amqpURI, exchange, queue, routingKey, tag string, prefetch int) *RabbitMQ
NewConsumer creates and sets up a RabbitMQ struct best used for consuming messages
NewPublisher creates and sets up a RabbitMQ Publisher
Close will close the RabbitMQ channel and connection
Consume outputs a stream of Message into a channel from rabbit
Publish Takes stream of messages and publish them to rabbit
Verify will be used to Ack Message from the queue
Source Files
¶
Click to show internal directories.
Click to hide internal directories.