This is a break change version, all codes has been refactored to support follow features:
- Let the delayQueue can run as a standalone service.
- Let the delayQueue can notify client by two mode: HTTP, Pubsub. The HTTP mean is to do a HTTP request; the Pubsub mean is to send delay message to a common queue(such as RabbitMQ) and the client will consume it.
- To implement a delayQueue client by golang language. You can use it to connect to delayQueue server and test it.
- Add unit tests to improve test coverage.
Others
You can run it by the docker, You can refer the docker-compose-run-sample.yml to launch it.