rabbit

package
v0.0.0-...-2a6ebeb Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0, Apache-2.0, MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertQueue

func AssertQueue(conn *amqp.Connection, queueName string)

func DeleteQueue

func DeleteQueue(conn *amqp.Connection, queueName string)

func GetConnection

func GetConnection() *amqp.Connection

Returns the connection to RabbitMq. If the connection is not established, will attempt to establish it, with a specified timeout period

func GetQueueChannel

func GetQueueChannel(queueName string) <-chan amqp.Delivery

func PublishMessage

func PublishMessage(queueName string, data []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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