forgejo/vendor/github.com/lunny/levelqueue
..
.gitignore
error.go
go.mod
go.sum
LICENSE
queue.go
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()