close
The Wayback Machine - https://web.archive.org/web/20201026062418/https://github.com/vural/haura
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Haura

Haura is pure go simple concurrent lock-free in-memory queue.

Features

  • Currently support API (enqueue, dequeue, stats)
  • Communication beetween client over HTTP Protocol

Installation

go get -u github.com/vural/haura

Running

It's so simple!

# Default 0.0.0.0:8080
haura
# Or Specific Address
haura -listen :5353

Usage

# Enqueue
curl -H "Content-Type: application/json" -X POST -d '{"data":"my_data"}' http://localhost:8080/enqueue
# Dequeue
curl -X GET http://localhost:8080/dequeue
# Stats
curl -X GET http://localhost:8080/stats

Example Stats

{
    "go_version": "go1.9.2",
    "host": "0.0.0.0:8080",
    "start_time": 1515840014,
    "total_enqueue": 100,
    "total_dequeue": 50,
    "queue_count": 50
}

Cheers !

About

Haura is pure go simple concurrent lock-free in-memory queue

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.