ormissia/go-rabbitmq

Created May 6, 2022 · View the ormissia/go-rabbitmq repository page

RabbitMQ Go API二次封装

Want this for your repo?

Render a free sample of any GitHub repo in seconds.

Visualize your own →

Contributors

2

Lines of Code

17

From

Jan 27, 2021

To

Feb 6, 2021

About ormissia/go-rabbitmq

This is a Go wrapper library that simplifies the RabbitMQ Go client API, building on top of the standard streadway/amqp library. It encapsulates the five primary RabbitMQ messaging patterns to make them easier to use in Go applications, reducing boilerplate code and providing a more convenient interface for common use cases.

The library implements Simple mode for basic one-to-one message delivery suitable for use cases like SMS and chat, Work mode for task distribution in scenarios like grabbing coupons and resource scheduling, Publish/Subscribe mode for broadcasting messages to multiple consumers without producer routing control, Routing mode where producers can specify target queues while multiple consumers receive messages, and Topic mode using wildcard binding keys to dynamically route messages to different queues based on pattern matching.

The project is designed to streamline RabbitMQ integration in Go applications by providing ready-made implementations of these messaging patterns, reducing the amount of code developers need to write when working with message queues. Installation is straightforward through go get, making it accessible for Go developers working with RabbitMQ in various business scenarios.

Share this video

More from ormissia

See all →