types

package
v1.0.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Param

type Param string
const (
	CH   Param = "CH"
	INCR Param = "INCR"
	GT   Param = "GT"
	LT   Param = "LT"

	EX      Param = "EX"
	PX      Param = "PX"
	EXAT    Param = "EXAT"
	PXAT    Param = "PXAT"
	XX      Param = "XX"
	NX      Param = "NX"
	KEEPTTL Param = "KEEPTTL"

	PERSIST Param = "PERSIST"
)

type SortedSet

type SortedSet struct {
	*sortedset.SortedSet
}

func NewSortedSet

func NewSortedSet() *SortedSet

func (*SortedSet) ZADD

func (s *SortedSet) ZADD(scores []int64, members []string, params map[Param]string) (int64, error)

func (*SortedSet) ZCOUNT

func (s *SortedSet) ZCOUNT(minScore, maxScore int64) int64

func (*SortedSet) ZRANGE

func (s *SortedSet) ZRANGE(start, stop int, byScore, byRank bool) []*wire.ZElement

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL