package
0.0.0-20241118103651-76c632c95298
Repository: https://github.com/uniwise/go-rabbit.git
Documentation: pkg.go.dev

# Functions

NewBoundedRetryQueue constructor for BoundedRetryQueue.
NewDeadLetterQueue is the constructor for DeadLetterQueue.
NewQueue is the constructor for Queue.

# Variables

ErrMaxRetriesReached means that the item has exceeded MaxRetries and will not be queued for a new retry.

# Structs

BaseQueue contains methods shared by queue implementations, do not instantiate this struct on it's own.
BoundedRetryQueue is an extension of the dead letter queue where an item can be redelivered a maximum number of times.
BoundedRetryQueueConfig is the configuration the constructor NewBoundedRetryQueue needs.
DeadLetterQueue redelivers messages to a target queue after a provided TTL.
DeadLetterQueueConfig is the configuration the constructor NewDeadLetterQueue needs.
Queue is the simplest queue abstraction of RabbitMQ.
QueueConfig is the configuration the constructor NewQueue needs.

# Interfaces

NamedQueue is an interface describing queues which can return their name.