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: 11 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
	// contains filtered or unexported fields
}

func NewRabbitMQClient

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

func (*RabbitMQClient) StartConsuming

func (client *RabbitMQClient) StartConsuming(handler func(amqp091.Delivery) error)

type RabbitMQConfig

type RabbitMQConfig struct {
	URL               string
	NotificationQueue string
}

Jump to

Keyboard shortcuts

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