Documentation ¶
Index ¶
- func NewInstance(rabbitHost string, rabbitPort string, messagebrokeruser string, ...) (*amqp.Connection, error)
- func NewQueueConsumer(connection *amqp.Connection, queueName string, exchange string, ...) (<-chan amqp.Delivery, error)
- func NewQueuePublisher(connection *amqp.Connection, exchange string) (*amqp.Channel, error)
- func PublishMessage(channel *amqp.Channel, exchange string, routingKey string, header amqp.Table, ...) error
- type RMQChannel
- type RMQConnection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInstance ¶
func NewQueueConsumer ¶
func NewQueuePublisher ¶
Types ¶
type RMQChannel ¶
type RMQConnection ¶
type RMQConnection struct {
*amqp.Connection
}
Click to show internal directories.
Click to hide internal directories.