Categorygithub.com/bvdwalt/RabbitMQExampleGo
module
0.0.0-20230605183807-7830b52a6dce
Repository: https://github.com/bvdwalt/rabbitmqexamplego.git
Documentation: pkg.go.dev

# README

RabbitMQExampleGo

An example app using RabbitMQ in Go

First run RabbitMQ locally using docker:
docker run -d --hostname my-rabbit --name RabbitMQExampleGo -e RABBITMQ_DEFAULT_USER=guest -e RABBITMQ_DEFAULT_PASS=guest -p 15672:15672 -p 5671:5671 -p 5672:5672 -p 15671:15671 -p 25672:25672 rabbitmq:3-management

The RabbitMQ management page can be viewed here, use the username guest and password guest as per the docker run command.

Run the two go programs using the following commands:
The Producer:
go run producer/main.go
AND the consumer
go run consumer/main.go

# Packages

No description provided by the author
No description provided by the author