Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RabbitMQListner ¶
type RabbitMQListner struct { Client rabbitmqclient.RabbitMQConnection QueueName string Consumer string AutoAck bool Exclusive bool NoLocal bool NoWait bool Args amqp.Table Handler RabbitMQMessageHandler }
func New ¶
func New(config RabbitMQListnerConfig, handler RabbitMQMessageHandler) RabbitMQListner
func (RabbitMQListner) Listen ¶
func (r RabbitMQListner) Listen(hangup chan *amqp.Error)
type RabbitMQListnerConfig ¶
type RabbitMQListnerConfig struct { Client rabbitmqclient.RabbitMQConnection QueueName string Consumer string AutoAck bool Exclusive bool NoLocal bool NoWait bool Args amqp.Table }
Click to show internal directories.
Click to hide internal directories.