Improve documentation Separate out set, uniquequeue and queue Add Has Move to use unique queue Add SIsMember Update README Add redis-like set commands
15 lines
345 B
Go
15 lines
345 B
Go
// Copyright 2019 Lunny Xiao. All rights reserved.
|
|
// Use of this source code is governed by a MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package levelqueue
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
// ErrNotFound means no elements in queue
|
|
ErrNotFound = errors.New("no key found")
|
|
|
|
ErrAlreadyInQueue = errors.New("value already in queue")
|
|
)
|