bus

package
v0.0.0-...-258a0d2 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(connectionString string) interfaces.IRabbitMQ

Types

type RabbitMQ

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

func (*RabbitMQ) GetChannel

func (r *RabbitMQ) GetChannel() *amqp.Channel

func (*RabbitMQ) SendMessage

func (r *RabbitMQ) SendMessage(queue string, data interface{}) error

Jump to

Keyboard shortcuts

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