Concept for implementing RabbitMQ in the go-blueprint as an advanced flag.
docker compose -f docker-compose-rabbitmq.yml up --build
docker compose -f docker-compose-rabbitmq.yml down --volumes
Publisher
curl -X POST -d 'message=test' localhost:8088/publish
Consumer
docker logs -f consumer-1
RannitMQ UI
localhost:15672
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
run all make commands with clean tests
make all build
build the application
make build
run the application
make run
Create containers
make docker-run
Shutdown containers
make docker-down
live reload the application
make watch
run the test suite
make test
clean up binary from the last build
make clean