Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AMQPChannel ¶
type AMQPChannel interface { Close() error Consume(queue, consumer string, autoAck, exclusive, noLocal, noWait bool, args amqp.Table) (<-chan amqp.Delivery, error) Publish(exchange, key string, mandatory, immediate bool, msg amqp.Publishing) error QueueDeclare(name string, durable, autoDelete, exclusive, noWait bool, args amqp.Table) (amqp.Queue, error) ExchangeBind(destination, key, source string, noWait bool, args amqp.Table) error ExchangeDeclare(name, kind string, durable, autoDelete, internal, noWait bool, args amqp.Table) error QueueBind(name, key, exchange string, noWait bool, args amqp.Table) error Tx() error TxCommit() error TxRollback() error }
AMQPChannel represents the needed functionality from a amqp.Channel
type AMQPConnection ¶
type AMQPConnection interface { Channel() (*amqp.Channel, error) Close() error NotifyBlocked(receiver chan amqp.Blocking) chan amqp.Blocking NotifyClose(receiver chan *amqp.Error) chan *amqp.Error }
AMQPConnection represents the needed functionality from a amqp.Connection
type AMQPDelivery ¶
AMQPDelivery represents the needed functionality from a amqp.Delivery
Click to show internal directories.
Click to hide internal directories.