Skip to content

Abstraction over AMQP/message queue communication to send messages. Used in Wharf

License

Notifications You must be signed in to change notification settings

iver-wharf/messagebus-go

Repository files navigation

Message bus Go library

Codacy Badge Go Reference

Package prepared for creating and sending messages to RabbitMQ.

To use it you have to set environment variable WHARF_INSTANCE with proper instance ID, such as WHARF_INSTANCE=prod for your production instance of Wharf and WHARF_INSTANCE=dev for your development instance.

This value is used to use the same RabbitMQ instance with multiple Wharf instances.

Linting Golang

go get -u github.com/mgechev/revive
npm run lint-go

Linting markdown

npm install

npm run lint-md

# Some errors can be fixed automatically. Keep in mind that this updates the
# files in place.
npm run lint-md-fix

Linting

You can lint all of the above at the same time by running:

npm run lint

# Some errors can be fixed automatically. Keep in mind that this updates the
# files in place.
npm run lint-fix

Maintained by Iver. Licensed under the MIT license.