Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DLQEntry ¶
type DLQEntry struct {
OriginalMessageID string `json:"original_message_id"`
CorrelationID string `json:"correlation_id"`
ChannelID string `json:"channel_id"`
OriginalPayload string `json:"original_payload,omitempty"`
Error string `json:"error"`
Destination string `json:"destination"`
Timestamp time.Time `json:"timestamp"`
Metadata map[string]any `json:"metadata,omitempty"`
}
type DeadLetterQueue ¶
type DeadLetterQueue struct {
// contains filtered or unexported fields
}
func NewDeadLetterQueue ¶
func NewDeadLetterQueue(cfg *config.DeadLetterConfig, send SendFunc, logger *slog.Logger) *DeadLetterQueue
type DestinationQueue ¶
type DestinationQueue struct {
// contains filtered or unexported fields
}
func NewDestinationQueue ¶
func (*DestinationQueue) Depth ¶
func (q *DestinationQueue) Depth() int
func (*DestinationQueue) Stop ¶
func (q *DestinationQueue) Stop()
type QueueFullError ¶
type QueueFullError struct {
Name string
}
func (*QueueFullError) Error ¶
func (e *QueueFullError) Error() string
type RedisDestinationQueue ¶
type RedisDestinationQueue struct {
// contains filtered or unexported fields
}
func (*RedisDestinationQueue) Depth ¶
func (q *RedisDestinationQueue) Depth() int
func (*RedisDestinationQueue) Stop ¶
func (q *RedisDestinationQueue) Stop()
type Retryer ¶
type Retryer struct {
// contains filtered or unexported fields
}
func NewRetryer ¶
func NewRetryer(cfg *config.RetryConfig, logger *slog.Logger) *Retryer
Click to show internal directories.
Click to hide internal directories.