You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Mura Li d77176912b Use Go1.11 module (#5743) 5 years ago
..
.gitignore Use Go1.11 module (#5743) 5 years ago
LICENSE Refactor issue indexer (#5363) 5 years ago
README.md Use Go1.11 module (#5743) 5 years ago
error.go Refactor issue indexer (#5363) 5 years ago
go.mod Use Go1.11 module (#5743) 5 years ago
go.sum Use Go1.11 module (#5743) 5 years ago
queue.go Refactor issue indexer (#5363) 5 years ago

README.md

levelqueue

Level queue is a simple queue golang library base on go-leveldb.

CircleCI codecov

Installation

go get github.com/lunny/levelqueue

Usage

queue, err := levelqueue.Open("./queue")

err = queue.RPush([]byte("test"))

data, err = queue.LPop()