Documentation
¶
Index ¶
- Variables
- type RedisQueue
- func (q *RedisQueue) Clear() error
- func (q *RedisQueue) DequeueN(n int) (taken [][]byte, num_left int, err error)
- func (q *RedisQueue) Enqueue(datum []byte) (pos int, err error)
- func (q *RedisQueue) Iter(fn func(int, []byte) bool) error
- func (q *RedisQueue) Position(datum []byte) (pos int, err error)
- func (q *RedisQueue) Remove(datum []byte) error
- func (q *RedisQueue) Size() (int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Error = errors.NewClass("redisqueue")
)
Functions ¶
This section is empty.
Types ¶
type RedisQueue ¶
type RedisQueue struct {
// contains filtered or unexported fields
}
func (*RedisQueue) Clear ¶
func (q *RedisQueue) Clear() error
func (*RedisQueue) DequeueN ¶
func (q *RedisQueue) DequeueN(n int) (taken [][]byte, num_left int, err error)
func (*RedisQueue) Remove ¶
func (q *RedisQueue) Remove(datum []byte) error
func (*RedisQueue) Size ¶
func (q *RedisQueue) Size() (int, error)