0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 00:44:15 -05:00
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()