easy messagequeue
config.json example
{
"log_root":"./",
"rest_api_bind":"0.0.0.0:8080",
"delay_duration":500
}
start easymq on terminal
easymq config.json
Http
api_host=http://localhost:8080
curl $api_host/publish -X POST -H 'Content-Type:application/json' -d '{"topic":"test1","content":"good evening,sir"}'
Http
api_host=http://localhost:8080
curl $api_host/read\?topic\=test1 -X GET