Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

koddr/tutorial-go-fiber-rabbitmq

Repository files navigation

πŸ“– Tutorial: Working with RabbitMQ in Golang by examples

This tutorial is more aimed at those who just want to understand how to working with a message broker in Go.

πŸ‘‰ The full article is published on March 31, 2021, on Dev.to: https://dev.to/koddr/working-with-rabbitmq-in-golang-by-examples-2dcn

Quick start

  1. Install Docker, Docker Compose and start their system services.
  2. Run containers with the RabbitMQ, Fiber and consumer by this command:
make run
  1. Make HTTP request to the API endpoint:
curl \
 --request GET \
 --url 'http://localhost:3000/send?msg=test'
  1. Go to RabbitMQ awesome dashboard localhost:5672 and see QueueService1 queue with sent messages:

Screenshot

P.S.

If you want more articles like this on this blog, then post a comment below and subscribe to me. Thanks! 😘

And, of course, you can support me by donating at LiberaPay. Each donation will be used to write new articles and develop non-profit open-source projects for the community.

Support author at LiberaPay

⚠️ License

MIT Β© Vic ShΓ³stak & True web artisans.

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /