Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnection ¶
Types ¶
type Consumer ¶
type Consumer struct { Conn *amqp.Connection QueueName string ExchangeName string }
Consumer for receiving AMPQ events
func NewConsumer ¶
func NewConsumer(conn *amqp.Connection, r RInfo, exchangeName string, queueName string) (Consumer, error)
NewConsumer returns a new Consumer
type Emitter ¶
type Emitter struct { Conn *amqp.Connection ExchangeName string }
Emitter for publishing AMQP events
func NewEventEmitter ¶
NewEventEmitter returns a new event.Emitter object ensuring that the object is initialised, without error
Click to show internal directories.
Click to hide internal directories.