diff options
Diffstat (limited to 'vendor/github.com/lunny/levelqueue/README.md')
-rw-r--r-- | vendor/github.com/lunny/levelqueue/README.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/github.com/lunny/levelqueue/README.md b/vendor/github.com/lunny/levelqueue/README.md new file mode 100644 index 0000000000..3d9fc097b8 --- /dev/null +++ b/vendor/github.com/lunny/levelqueue/README.md @@ -0,0 +1,23 @@ +# levelqueue + +Level queue is a simple queue golang library base on go-leveldb. + +[![CircleCI](https://circleci.com/gh/lunny/levelqueue.svg?style=shield)](https://circleci.com/gh/lunny/levelqueue) +[![codecov](https://codecov.io/gh/lunny/levelqueue/branch/master/graph/badge.svg)](https://codecov.io/gh/lunny/levelqueue) +[![](https://goreportcard.com/badge/github.com/lunny/levelqueue)](https://goreportcard.com/report/github.com/lunny/levelqueue) + +## Installation + +``` +go get github.com/lunny/levelqueue +``` + +## Usage + +```Go +queue, err := levelqueue.Open("./queue") + +err = queue.RPush([]byte("test")) + +data, err = queue.LPop() +```
\ No newline at end of file |