queue

package
v0.0.0-...-3773a65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RabbitMQClient

type RabbitMQClient struct {
	Connection *amqp091.Connection
}

func NewRabbitMQClient

func NewRabbitMQClient(config RabbitMQConfig) (*RabbitMQClient, error)

func (*RabbitMQClient) PublishMessage

func (client *RabbitMQClient) PublishMessage(queueName string, message []byte) error

func (*RabbitMQClient) SetupQueues

func (client *RabbitMQClient) SetupQueues() error

type RabbitMQConfig

type RabbitMQConfig struct {
	URL               string
	DLXExchange       string
	DLXQueue          string
	NotificationQueue string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL