Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Producer ¶
type Producer interface {
// Produces a new message from the given string data, and pushes it to queue
ProduceMessage(string)
}
A producer creates new DataMessages and pushes them to a specified queue, channel, etc. where the messages will be received and handled by listeners and consumers
type RabbitProducer ¶
Simple producer that produces JSON encoded messages on a specified RabbitMq queue
func (*RabbitProducer) ProduceMessage ¶
func (prod *RabbitProducer) ProduceMessage(data string)
Click to show internal directories.
Click to hide internal directories.