Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Defaults = chamqp.ConsumeSpec{ Queue: "", DeliveryChan: nil, Consumer: "", AutoAck: true, Exclusive: false, NoLocal: false, NoWait: false, Args: nil, ErrorChan: nil, }
Functions ¶
This section is empty.
Types ¶
type ArgsDecl ¶
type ArgsDecl struct {
// contains filtered or unexported fields
}
func (ArgsDecl) WithErrorChan ¶
type AutoAckDecl ¶
type AutoAckDecl struct {
// contains filtered or unexported fields
}
func (AutoAckDecl) Defaults ¶
func (a AutoAckDecl) Defaults() ErrorChan
func (AutoAckDecl) WithDefaultExclusive ¶
func (a AutoAckDecl) WithDefaultExclusive() ExclusiveDecl
func (AutoAckDecl) WithExclusive ¶
func (a AutoAckDecl) WithExclusive(exclusive bool) ExclusiveDecl
type ConsumerDecl ¶
type ConsumerDecl struct {
// contains filtered or unexported fields
}
func (ConsumerDecl) Defaults ¶
func (d ConsumerDecl) Defaults() ErrorChan
func (ConsumerDecl) WithAutoAck ¶
func (d ConsumerDecl) WithAutoAck(autoAck bool) AutoAckDecl
func (ConsumerDecl) WithDefaultAutoAck ¶
func (d ConsumerDecl) WithDefaultAutoAck() AutoAckDecl
type DeliveryChan ¶
type DeliveryChan struct {
// contains filtered or unexported fields
}
func (DeliveryChan) Defaults ¶
func (d DeliveryChan) Defaults() ErrorChan
func (DeliveryChan) WithConsumer ¶
func (d DeliveryChan) WithConsumer(consumer string) ConsumerDecl
func (DeliveryChan) WithDefaultConsumer ¶
func (d DeliveryChan) WithDefaultConsumer() ConsumerDecl
type ErrorChan ¶
type ErrorChan struct {
// contains filtered or unexported fields
}
func (ErrorChan) BuildSpec ¶
func (e ErrorChan) BuildSpec() chamqp.ConsumeSpec
type ExclusiveDecl ¶
type ExclusiveDecl struct {
// contains filtered or unexported fields
}
func (ExclusiveDecl) Defaults ¶
func (e ExclusiveDecl) Defaults() ErrorChan
func (ExclusiveDecl) WithDefaultNoLocal ¶
func (e ExclusiveDecl) WithDefaultNoLocal() NoLocalDecl
func (ExclusiveDecl) WithNoLocal ¶
func (e ExclusiveDecl) WithNoLocal(noLocal bool) NoLocalDecl
type NoLocalDecl ¶
type NoLocalDecl struct {
// contains filtered or unexported fields
}
func (NoLocalDecl) Defaults ¶
func (n NoLocalDecl) Defaults() ErrorChan
func (NoLocalDecl) WithNoWait ¶
func (n NoLocalDecl) WithNoWait(noWait bool) NoWaitDecl
type NoWaitDecl ¶
type NoWaitDecl struct {
// contains filtered or unexported fields
}
func (NoWaitDecl) Defaults ¶
func (n NoWaitDecl) Defaults() ErrorChan
Click to show internal directories.
Click to hide internal directories.