rabbitmq

package
v1.1.24 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RabbitMQ

type RabbitMQ struct {
	RabbitMQ   *pipeline.RabbitMQ
	Connection *amqp.Connection
	Channel    *amqp.Channel
}

RabbitMQ send message to RabbitMQ

func New

func New(rq *pipeline.RabbitMQ) (r *RabbitMQ, err error)

New returns a new RabbitMQ object

func (*RabbitMQ) Close

func (r *RabbitMQ) Close() error

func (*RabbitMQ) Send

func (r *RabbitMQ) Send(msg *message2.Message) (ok bool, err error)

Send Logic and control

Jump to

Keyboard shortcuts

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