Skip to content

oswaldoooo/easymq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyMq

easy messagequeue

Quick Start

Run

config.json example

{
  "log_root":"./",
  "rest_api_bind":"0.0.0.0:8080",
  "delay_duration":500
}

start easymq on terminal

easymq config.json

Publish Message

Http

api_host=http://localhost:8080
curl $api_host/publish -X POST -H 'Content-Type:application/json' -d '{"topic":"test1","content":"good evening,sir"}'

Read Latest Message

Http

api_host=http://localhost:8080
curl $api_host/read\?topic\=test1 -X GET

About

easy messagequeue

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published