gitea/vendor/github.com/lunny/levelqueue/README.md

629 B

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()