MCPcopy Create free account
hub / github.com/assembla/cony / Declarer

Interface Declarer

declaration.go:9–13  ·  view source on GitHub ↗

Declarer is implemented by *amqp.Channel

Source from the content-addressed store, hash-verified

7
8// Declarer is implemented by *amqp.Channel
9type Declarer interface {
10 QueueDeclare(name string, durable, autoDelete, exclusive, noWait bool, args amqp.Table) (amqp.Queue, error)
11 ExchangeDeclare(name, kind string, durable, autoDelete, internal, noWait bool, args amqp.Table) error
12 QueueBind(name, key, exchange string, noWait bool, args amqp.Table) error
13}
14
15// DeclareQueue is a way to declare AMQP queue
16func DeclareQueue(q *Queue) Declaration {

Callers 3

DeclareQueueFunction · 0.65
DeclareExchangeFunction · 0.65
DeclareBindingFunction · 0.65

Implementers 1

testDeclarerdeclaration_test.go

Calls

no outgoing calls

Tested by

no test coverage detected