rabbitmq

package
v0.6.10-0...-926069d Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher interface {
	Publish(msg amqp091.Publishing) error
}

type QueuePublisher

type QueuePublisher struct {
	// contains filtered or unexported fields
}

func NewQueuePublisher

func NewQueuePublisher(rabbitMQURL string, queueName string) *QueuePublisher

func NewQueuePublisherWithConnection

func NewQueuePublisherWithConnection(
	rabbitMQURL string,
	conn *amqp091.Connection,
	queueName string,
) (*QueuePublisher, error)

func (*QueuePublisher) Publish

func (q *QueuePublisher) Publish(msg amqp091.Publishing) error

Jump to

Keyboard shortcuts

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