Categorygithub.com/Devessier/gorabbit
modulepackage
0.0.0-20190625225209-f2439b436ee4
Repository: https://github.com/devessier/gorabbit.git
Documentation: pkg.go.dev

# README

gorabbit

Go Rabbit ! is a simple wrapper around streadway/amqp package

To avoid code duplication from one projet to another I needed a simple wrapper around amqp package for Golang

# Functions

NewMessageBroker tries to instantiate a new MessageBroker.

# Structs

MessageBroker holds RabbitMQ connections.

# Type aliases

Consumer is a function that takes a amqp.Delivery struct as parameter.
Message is an alias to amqp.delivery.