messengers

package
v3.2.10 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 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 Messenger

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

func New added in v3.2.9

func New(debug bool, publisher *amqp.Publisher, consumer *amqp.Subscriber) *Messenger

func (*Messenger) Consume

func (m *Messenger) Consume(queueName string) (<-chan *message.Message, error)

func (*Messenger) Publish

func (m *Messenger) Publish(queueName string, data []byte) error

Jump to

Keyboard shortcuts

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