rabbit

package
v0.0.0-...-eb336c4 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenMQ

func OpenMQ(lg *zap.Logger) *amqp.Connection

func OpenSubAutoAck

func OpenSubAutoAck(ch *amqp.Channel, exchange string) <-chan amqp.Delivery

Types

type MQConnectionData

type MQConnectionData struct {
	Host     string `env:"RABBITMQ_HOST"`
	User     string `env:"RABBITMQ_DEFAULT_USER"`
	Password string `env:"RABBITMQ_DEFAULT_PASS"`
}

Jump to

Keyboard shortcuts

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