subscriber

package
v0.0.0-...-d1e270b Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subscriber

type Subscriber struct {
	Log     *logger.Logger
	Channel *amqp.Channel
	Queue   *amqp.Queue
}

Subscriber defines the subscriber object

func NewSubscriber

func NewSubscriber(log *logger.Logger, channel *amqp.Channel, queue *amqp.Queue) *Subscriber

NewSubscriber creates a new publisher

func (*Subscriber) BuildMessageQueue

func (sub *Subscriber) BuildMessageQueue() (<-chan amqp.Delivery, error)

BuildMessageQueue builds consumable messages

Jump to

Keyboard shortcuts

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