Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Definition ¶
type Definition struct { Name string RoutingKey string Exchange string Durable bool AutoDelete bool Exclusive bool NoWait bool QueueArgs amqp.Table BindingArgs amqp.Table }
func NewDefinition ¶
func NewDefinition(name, routingKey, exchange string, opts ...QueueOpt) *Definition
func (Definition) CreateBindedQueue ¶
type QueueOpt ¶
type QueueOpt func(*Definition)
func WithAutoDelete ¶
func WithBindingArgs ¶
func WithDurable ¶
func WithExclusive ¶
func WithNoWait ¶
func WithQueueArgs ¶
Click to show internal directories.
Click to hide internal directories.