Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/s0xzwasd/go-rabbitmq-example

Basic example of RabbitMQ
https://github.com/s0xzwasd/go-rabbitmq-example

Last synced: about 24 hours ago
JSON representation

Basic example of RabbitMQ

Awesome Lists containing this project

README

        

# RabbitMQ example with Go

1. Run Docker.
2. Execute in Terminal: `docker run -d --hostname rabbitmq-example --name rabbitmq -p 15672:15672 -p 5672:5672 rabbitmq:3-management`
2. Run the consumer service: `go run go-rabbitmq-example/consumer/main.go`
3. Run the main program and send a basic request: `go run go-rabbitmq-example/main.go`