redis

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 12 Imported by: 0

README

Redis.

Компонент, который позволяет подключаться к Redis.
Реализует интерфейс cache.CacheInterface[[]byte], который доступен в контейнере объектов если этот компонент используется напрямую.

В пакете с компонентом так же имеется метод New, который возвращает ссылку на новый объект github.com/go-redis/redis/v8/Cmdable для использования его вне контейнера.

Объект конфигурации.
type Config struct {
	Host           string
	Port           uint16
	User           string
	Password       string
	ReadTimeout    time.Duration
	WriteTimeout   time.Duration
	ConnectTimeout time.Duration
}

Описание полей:

Поле Описание Значение по умолчанию
Host Хост подключения к редису, этот параметр может быть передан одним из 3-х методов:
- флаг командной строки --cache.redis.host
- переменная окружения CACHE_REDIS_HOST
- значение в конфиг файле cache.redis.host
localhost
Port Порт подключения к редису, этот параметр может быть передан одним из 3-х методов:
- флаг командной строки --cache.redis.port
- переменная окружения CACHE_REDIS_PORT
- значение в конфиг файле cache.redis.port
6379
User Имя пользователя для авторизации в редисе, этот параметр может быть передан одним из 3-х методов:
- флаг командной строки --cache.redis.auth.user
- переменная окружения CACHE_REDIS_AUTH_USER
- значение в конфиг файле cache.redis.auth.user
Password Пароль пользователя для авторизации в редисе, этот параметр может быть передан одним из 3-х методов:
- флаг командной строки --cache.redis.auth.password
- переменная окружения CACHE_REDIS_AUTH_PASSWORD
- значение в конфиг файле cache.redis.auth.password
ReadTimeout Таймаут чтения, этот параметр может быть передан одним из 3-х методов:
- флаг командной строки --cache.redis.timeout.read
- переменная окружения CACHE_REDIS_TIMEOUT_READ
- значение в конфиг файле cache.redis.timeout.read
300ms
WriteTimeout Таймаут записи, этот параметр может быть передан одним из 3-х методов:
- флаг командной строки --cache.redis.timeout.write
- переменная окружения CACHE_REDIS_TIMEOUT_WRITE
- значение в конфиг файле cache.redis.timeout.write
300ms
ConnectTimeout Таймаут на соединения, этот параметр может быть передан одним из 3-х методов:
- флаг командной строки --cache.redis.timeout.connect
- переменная окружения CACHE_REDIS_TIMEOUT_CONNECT
- значение в конфиг файле cache.redis.timeout.connect
500ms

Компонент добавляет метрики. Подробнее о метриках https://github.com/eko/gocache.

Documentation

Index

Constants

View Source
const (
	HostFieldName           = "cache.redis.host"
	PortFieldName           = "cache.redis.port"
	UserFieldName           = "cache.redis.auth.user"
	PasswordFieldName       = "cache.redis.auth.password"
	ReadTimeoutFieldName    = "cache.redis.timeout.read"
	WriteTimeoutFieldName   = "cache.redis.timeout.write"
	ConnectTimeoutFieldName = "cache.redis.timeout.connect"

	HostDefault           = "localhost"
	PortDefault           = uint16(6379)
	ReadTimeoutDefault    = 300 * time.Millisecond
	WriteTimeoutDefault   = 300 * time.Millisecond
	ConnectTimeoutDefault = 500 * time.Millisecond
)

Variables

View Source
var Component = &app.Component{
	Dependencies: app.Components{
		logger.Component,
		configurator.Component,
		reConfiguration.Component,
		info.Component,
	},
	Constructor: func(container container.Container) error {
		return container.Provides(
			NewConfig,
			NewReConfigurationWithConfigurator,
			func(reConfiguration *ReConfiguration) redis.Cmdable { return reConfiguration },
		)
	},
	BindFlags: func(flagSet *pflag.FlagSet, container container.Container) error {
		return container.Invoke(func(config *Config) {
			flagSet.StringVar(&config.Host, HostFieldName, HostDefault, "redis connection host")
			flagSet.Uint16Var(&config.Port, PortFieldName, PortDefault, "redis connection port")
			flagSet.StringVar(&config.User, UserFieldName, "", "user for authorization in redis")
			flagSet.StringVar(&config.Password, PasswordFieldName, "", "password for authorization in redis")
			flagSet.DurationVar(&config.ReadTimeout, ReadTimeoutFieldName, ReadTimeoutDefault, "read timeout")
			flagSet.DurationVar(&config.WriteTimeout, WriteTimeoutFieldName, WriteTimeoutDefault, "write timeout")
			flagSet.DurationVar(
				&config.ConnectTimeout,
				ConnectTimeoutFieldName,
				ConnectTimeoutDefault,
				"The time the client waits for a connection if all connections are busy",
			)
		})
	},
	Run: func(c container.Container) error {
		cache, err := container.Get[*ReConfiguration](c)
		if err != nil {
			return err
		}

		reConfiguration, err := container.Get[configurator.ReConfiguration](c)
		if err != nil {
			return err
		}

		informer, err := container.Get[logger.Informer](c)
		if err != nil {
			return err
		}

		reConfiguration.Registration(cache)
		informer.Info("cache.redis: registration in the reConfigurator")

		info, err := container.Get[info.Info](c)
		if err != nil {
			return err
		}

		config, err := container.Get[*Config](c)
		if err != nil {
			return err
		}

		info.Registration("cache.redis", config)

		return nil
	},
}

Functions

func New

func New(config *Config, informer logger.Informer) redis.Cmdable

func NewWithConfigurator

func NewWithConfigurator(configurator configurator.Configurator, config *Config, informer logger.Informer) redis.Cmdable

Types

type Config

type Config struct {
	Host           string
	Port           uint16
	User           string
	Password       string `info:"secret"`
	ReadTimeout    time.Duration
	WriteTimeout   time.Duration
	ConnectTimeout time.Duration
}

func Configuration

func Configuration(config *Config, configurator configurator.Configurator) *Config

func NewConfig

func NewConfig() *Config

type ReConfiguration

type ReConfiguration struct {
	// contains filtered or unexported fields
}

func NewReConfiguration

func NewReConfiguration(informer logger.Informer, config *Config) *ReConfiguration

func NewReConfigurationWithConfigurator

func NewReConfigurationWithConfigurator(informer logger.Informer, config *Config, configurator configurator.Configurator) *ReConfiguration

func (*ReConfiguration) Append

func (reConfiguration *ReConfiguration) Append(ctx context.Context, key, value string) *redis.IntCmd

func (*ReConfiguration) BLMove

func (reConfiguration *ReConfiguration) BLMove(ctx context.Context, source, destination, srcpos, destpos string, timeout time.Duration) *redis.StringCmd

func (*ReConfiguration) BLPop

func (reConfiguration *ReConfiguration) BLPop(ctx context.Context, timeout time.Duration, keys ...string) *redis.StringSliceCmd

func (*ReConfiguration) BRPop

func (reConfiguration *ReConfiguration) BRPop(ctx context.Context, timeout time.Duration, keys ...string) *redis.StringSliceCmd

func (*ReConfiguration) BRPopLPush

func (reConfiguration *ReConfiguration) BRPopLPush(ctx context.Context, source, destination string, timeout time.Duration) *redis.StringCmd

func (*ReConfiguration) BZPopMax

func (reConfiguration *ReConfiguration) BZPopMax(ctx context.Context, timeout time.Duration, keys ...string) *redis.ZWithKeyCmd

func (*ReConfiguration) BZPopMin

func (reConfiguration *ReConfiguration) BZPopMin(ctx context.Context, timeout time.Duration, keys ...string) *redis.ZWithKeyCmd

func (*ReConfiguration) BgRewriteAOF

func (reConfiguration *ReConfiguration) BgRewriteAOF(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) BgSave

func (reConfiguration *ReConfiguration) BgSave(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) BitCount

func (reConfiguration *ReConfiguration) BitCount(ctx context.Context, key string, bitCount *redis.BitCount) *redis.IntCmd

func (*ReConfiguration) BitField

func (reConfiguration *ReConfiguration) BitField(ctx context.Context, key string, args ...interface{}) *redis.IntSliceCmd

func (*ReConfiguration) BitOpAnd

func (reConfiguration *ReConfiguration) BitOpAnd(ctx context.Context, destKey string, keys ...string) *redis.IntCmd

func (*ReConfiguration) BitOpNot

func (reConfiguration *ReConfiguration) BitOpNot(ctx context.Context, destKey string, key string) *redis.IntCmd

func (*ReConfiguration) BitOpOr

func (reConfiguration *ReConfiguration) BitOpOr(ctx context.Context, destKey string, keys ...string) *redis.IntCmd

func (*ReConfiguration) BitOpXor

func (reConfiguration *ReConfiguration) BitOpXor(ctx context.Context, destKey string, keys ...string) *redis.IntCmd

func (*ReConfiguration) BitPos

func (reConfiguration *ReConfiguration) BitPos(ctx context.Context, key string, bit int64, pos ...int64) *redis.IntCmd

func (*ReConfiguration) Cache

func (reConfiguration *ReConfiguration) Cache() redis.Cmdable

func (*ReConfiguration) ClientGetName

func (reConfiguration *ReConfiguration) ClientGetName(ctx context.Context) *redis.StringCmd

func (*ReConfiguration) ClientID

func (reConfiguration *ReConfiguration) ClientID(ctx context.Context) *redis.IntCmd

func (*ReConfiguration) ClientKill

func (reConfiguration *ReConfiguration) ClientKill(ctx context.Context, ipPort string) *redis.StatusCmd

func (*ReConfiguration) ClientKillByFilter

func (reConfiguration *ReConfiguration) ClientKillByFilter(ctx context.Context, keys ...string) *redis.IntCmd

func (*ReConfiguration) ClientList

func (reConfiguration *ReConfiguration) ClientList(ctx context.Context) *redis.StringCmd

func (*ReConfiguration) ClientPause

func (reConfiguration *ReConfiguration) ClientPause(ctx context.Context, dur time.Duration) *redis.BoolCmd

func (*ReConfiguration) ClusterAddSlots

func (reConfiguration *ReConfiguration) ClusterAddSlots(ctx context.Context, slots ...int) *redis.StatusCmd

func (*ReConfiguration) ClusterAddSlotsRange

func (reConfiguration *ReConfiguration) ClusterAddSlotsRange(ctx context.Context, min, max int) *redis.StatusCmd

func (*ReConfiguration) ClusterCountFailureReports

func (reConfiguration *ReConfiguration) ClusterCountFailureReports(ctx context.Context, nodeID string) *redis.IntCmd

func (*ReConfiguration) ClusterCountKeysInSlot

func (reConfiguration *ReConfiguration) ClusterCountKeysInSlot(ctx context.Context, slot int) *redis.IntCmd

func (*ReConfiguration) ClusterDelSlots

func (reConfiguration *ReConfiguration) ClusterDelSlots(ctx context.Context, slots ...int) *redis.StatusCmd

func (*ReConfiguration) ClusterDelSlotsRange

func (reConfiguration *ReConfiguration) ClusterDelSlotsRange(ctx context.Context, min, max int) *redis.StatusCmd

func (*ReConfiguration) ClusterFailover

func (reConfiguration *ReConfiguration) ClusterFailover(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) ClusterForget

func (reConfiguration *ReConfiguration) ClusterForget(ctx context.Context, nodeID string) *redis.StatusCmd

func (*ReConfiguration) ClusterGetKeysInSlot

func (reConfiguration *ReConfiguration) ClusterGetKeysInSlot(ctx context.Context, slot int, count int) *redis.StringSliceCmd

func (*ReConfiguration) ClusterInfo

func (reConfiguration *ReConfiguration) ClusterInfo(ctx context.Context) *redis.StringCmd

func (*ReConfiguration) ClusterKeySlot

func (reConfiguration *ReConfiguration) ClusterKeySlot(ctx context.Context, key string) *redis.IntCmd

func (*ReConfiguration) ClusterMeet

func (reConfiguration *ReConfiguration) ClusterMeet(ctx context.Context, host, port string) *redis.StatusCmd

func (*ReConfiguration) ClusterNodes

func (reConfiguration *ReConfiguration) ClusterNodes(ctx context.Context) *redis.StringCmd

func (*ReConfiguration) ClusterReplicate

func (reConfiguration *ReConfiguration) ClusterReplicate(ctx context.Context, nodeID string) *redis.StatusCmd

func (*ReConfiguration) ClusterResetHard

func (reConfiguration *ReConfiguration) ClusterResetHard(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) ClusterResetSoft

func (reConfiguration *ReConfiguration) ClusterResetSoft(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) ClusterSaveConfig

func (reConfiguration *ReConfiguration) ClusterSaveConfig(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) ClusterSlaves

func (reConfiguration *ReConfiguration) ClusterSlaves(ctx context.Context, nodeID string) *redis.StringSliceCmd

func (*ReConfiguration) ClusterSlots

func (reConfiguration *ReConfiguration) ClusterSlots(ctx context.Context) *redis.ClusterSlotsCmd

func (*ReConfiguration) Command

func (reConfiguration *ReConfiguration) Command(ctx context.Context) *redis.CommandsInfoCmd

func (*ReConfiguration) ConfigGet

func (reConfiguration *ReConfiguration) ConfigGet(ctx context.Context, parameter string) *redis.SliceCmd

func (*ReConfiguration) ConfigResetStat

func (reConfiguration *ReConfiguration) ConfigResetStat(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) ConfigRewrite

func (reConfiguration *ReConfiguration) ConfigRewrite(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) ConfigSet

func (reConfiguration *ReConfiguration) ConfigSet(ctx context.Context, parameter, value string) *redis.StatusCmd

func (*ReConfiguration) Copy

func (reConfiguration *ReConfiguration) Copy(ctx context.Context, sourceKey string, destKey string, db int, replace bool) *redis.IntCmd

func (*ReConfiguration) DBSize

func (reConfiguration *ReConfiguration) DBSize(ctx context.Context) *redis.IntCmd

func (*ReConfiguration) DebugObject

func (reConfiguration *ReConfiguration) DebugObject(ctx context.Context, key string) *redis.StringCmd

func (*ReConfiguration) Decr

func (reConfiguration *ReConfiguration) Decr(ctx context.Context, key string) *redis.IntCmd

func (*ReConfiguration) DecrBy

func (reConfiguration *ReConfiguration) DecrBy(ctx context.Context, key string, decrement int64) *redis.IntCmd

func (*ReConfiguration) Del

func (reConfiguration *ReConfiguration) Del(ctx context.Context, keys ...string) *redis.IntCmd

func (*ReConfiguration) Dump

func (reConfiguration *ReConfiguration) Dump(ctx context.Context, key string) *redis.StringCmd

func (*ReConfiguration) Echo

func (reConfiguration *ReConfiguration) Echo(ctx context.Context, message interface{}) *redis.StringCmd

func (*ReConfiguration) Eval

func (reConfiguration *ReConfiguration) Eval(ctx context.Context, script string, keys []string, args ...interface{}) *redis.Cmd

func (*ReConfiguration) EvalSha

func (reConfiguration *ReConfiguration) EvalSha(ctx context.Context, sha1 string, keys []string, args ...interface{}) *redis.Cmd

func (*ReConfiguration) Exists

func (reConfiguration *ReConfiguration) Exists(ctx context.Context, keys ...string) *redis.IntCmd

func (*ReConfiguration) Expire

func (reConfiguration *ReConfiguration) Expire(ctx context.Context, key string, expiration time.Duration) *redis.BoolCmd

func (*ReConfiguration) ExpireAt

func (reConfiguration *ReConfiguration) ExpireAt(ctx context.Context, key string, tm time.Time) *redis.BoolCmd

func (*ReConfiguration) ExpireGT

func (reConfiguration *ReConfiguration) ExpireGT(ctx context.Context, key string, expiration time.Duration) *redis.BoolCmd

func (*ReConfiguration) ExpireLT

func (reConfiguration *ReConfiguration) ExpireLT(ctx context.Context, key string, expiration time.Duration) *redis.BoolCmd

func (*ReConfiguration) ExpireNX

func (reConfiguration *ReConfiguration) ExpireNX(ctx context.Context, key string, expiration time.Duration) *redis.BoolCmd

func (*ReConfiguration) ExpireXX

func (reConfiguration *ReConfiguration) ExpireXX(ctx context.Context, key string, expiration time.Duration) *redis.BoolCmd

func (*ReConfiguration) FlushAll

func (reConfiguration *ReConfiguration) FlushAll(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) FlushAllAsync

func (reConfiguration *ReConfiguration) FlushAllAsync(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) FlushDB

func (reConfiguration *ReConfiguration) FlushDB(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) FlushDBAsync

func (reConfiguration *ReConfiguration) FlushDBAsync(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) GeoAdd

func (reConfiguration *ReConfiguration) GeoAdd(ctx context.Context, key string, geoLocation ...*redis.GeoLocation) *redis.IntCmd

func (*ReConfiguration) GeoDist

func (reConfiguration *ReConfiguration) GeoDist(ctx context.Context, key string, member1, member2, unit string) *redis.FloatCmd

func (*ReConfiguration) GeoHash

func (reConfiguration *ReConfiguration) GeoHash(ctx context.Context, key string, members ...string) *redis.StringSliceCmd

func (*ReConfiguration) GeoPos

func (reConfiguration *ReConfiguration) GeoPos(ctx context.Context, key string, members ...string) *redis.GeoPosCmd

func (*ReConfiguration) GeoRadius

func (reConfiguration *ReConfiguration) GeoRadius(ctx context.Context, key string, longitude, latitude float64, query *redis.GeoRadiusQuery) *redis.GeoLocationCmd

func (*ReConfiguration) GeoRadiusByMember

func (reConfiguration *ReConfiguration) GeoRadiusByMember(ctx context.Context, key, member string, query *redis.GeoRadiusQuery) *redis.GeoLocationCmd

func (*ReConfiguration) GeoRadiusByMemberStore

func (reConfiguration *ReConfiguration) GeoRadiusByMemberStore(ctx context.Context, key, member string, query *redis.GeoRadiusQuery) *redis.IntCmd

func (*ReConfiguration) GeoRadiusStore

func (reConfiguration *ReConfiguration) GeoRadiusStore(ctx context.Context, key string, longitude, latitude float64, query *redis.GeoRadiusQuery) *redis.IntCmd

func (*ReConfiguration) GeoSearch

func (reConfiguration *ReConfiguration) GeoSearch(ctx context.Context, key string, q *redis.GeoSearchQuery) *redis.StringSliceCmd

func (*ReConfiguration) GeoSearchLocation

func (reConfiguration *ReConfiguration) GeoSearchLocation(ctx context.Context, key string, q *redis.GeoSearchLocationQuery) *redis.GeoSearchLocationCmd

func (*ReConfiguration) GeoSearchStore

func (reConfiguration *ReConfiguration) GeoSearchStore(ctx context.Context, key, store string, q *redis.GeoSearchStoreQuery) *redis.IntCmd

func (*ReConfiguration) Get

func (reConfiguration *ReConfiguration) Get(ctx context.Context, key string) *redis.StringCmd

func (*ReConfiguration) GetBit

func (reConfiguration *ReConfiguration) GetBit(ctx context.Context, key string, offset int64) *redis.IntCmd

func (*ReConfiguration) GetDel

func (reConfiguration *ReConfiguration) GetDel(ctx context.Context, key string) *redis.StringCmd

func (*ReConfiguration) GetEx

func (reConfiguration *ReConfiguration) GetEx(ctx context.Context, key string, expiration time.Duration) *redis.StringCmd

func (*ReConfiguration) GetRange

func (reConfiguration *ReConfiguration) GetRange(ctx context.Context, key string, start, end int64) *redis.StringCmd

func (*ReConfiguration) GetSet

func (reConfiguration *ReConfiguration) GetSet(ctx context.Context, key string, value interface{}) *redis.StringCmd

func (*ReConfiguration) HDel

func (reConfiguration *ReConfiguration) HDel(ctx context.Context, key string, fields ...string) *redis.IntCmd

func (*ReConfiguration) HExists

func (reConfiguration *ReConfiguration) HExists(ctx context.Context, key, field string) *redis.BoolCmd

func (*ReConfiguration) HGet

func (reConfiguration *ReConfiguration) HGet(ctx context.Context, key, field string) *redis.StringCmd

func (*ReConfiguration) HGetAll

func (reConfiguration *ReConfiguration) HGetAll(ctx context.Context, key string) *redis.StringStringMapCmd

func (*ReConfiguration) HIncrBy

func (reConfiguration *ReConfiguration) HIncrBy(ctx context.Context, key, field string, incr int64) *redis.IntCmd

func (*ReConfiguration) HIncrByFloat

func (reConfiguration *ReConfiguration) HIncrByFloat(ctx context.Context, key, field string, incr float64) *redis.FloatCmd

func (*ReConfiguration) HKeys

func (reConfiguration *ReConfiguration) HKeys(ctx context.Context, key string) *redis.StringSliceCmd

func (*ReConfiguration) HLen

func (reConfiguration *ReConfiguration) HLen(ctx context.Context, key string) *redis.IntCmd

func (*ReConfiguration) HMGet

func (reConfiguration *ReConfiguration) HMGet(ctx context.Context, key string, fields ...string) *redis.SliceCmd

func (*ReConfiguration) HMSet

func (reConfiguration *ReConfiguration) HMSet(ctx context.Context, key string, values ...interface{}) *redis.BoolCmd

func (*ReConfiguration) HRandField

func (reConfiguration *ReConfiguration) HRandField(ctx context.Context, key string, count int, withValues bool) *redis.StringSliceCmd

func (*ReConfiguration) HScan

func (reConfiguration *ReConfiguration) HScan(ctx context.Context, key string, cursor uint64, match string, count int64) *redis.ScanCmd

func (*ReConfiguration) HSet

func (reConfiguration *ReConfiguration) HSet(ctx context.Context, key string, values ...interface{}) *redis.IntCmd

func (*ReConfiguration) HSetNX

func (reConfiguration *ReConfiguration) HSetNX(ctx context.Context, key, field string, value interface{}) *redis.BoolCmd

func (*ReConfiguration) HVals

func (reConfiguration *ReConfiguration) HVals(ctx context.Context, key string) *redis.StringSliceCmd

func (*ReConfiguration) Incr

func (reConfiguration *ReConfiguration) Incr(ctx context.Context, key string) *redis.IntCmd

func (*ReConfiguration) IncrBy

func (reConfiguration *ReConfiguration) IncrBy(ctx context.Context, key string, value int64) *redis.IntCmd

func (*ReConfiguration) IncrByFloat

func (reConfiguration *ReConfiguration) IncrByFloat(ctx context.Context, key string, value float64) *redis.FloatCmd

func (*ReConfiguration) Info

func (reConfiguration *ReConfiguration) Info(ctx context.Context, section ...string) *redis.StringCmd

func (*ReConfiguration) Keys

func (reConfiguration *ReConfiguration) Keys(ctx context.Context, pattern string) *redis.StringSliceCmd

func (*ReConfiguration) LIndex

func (reConfiguration *ReConfiguration) LIndex(ctx context.Context, key string, index int64) *redis.StringCmd

func (*ReConfiguration) LInsert

func (reConfiguration *ReConfiguration) LInsert(ctx context.Context, key, op string, pivot, value interface{}) *redis.IntCmd

func (*ReConfiguration) LInsertAfter

func (reConfiguration *ReConfiguration) LInsertAfter(ctx context.Context, key string, pivot, value interface{}) *redis.IntCmd

func (*ReConfiguration) LInsertBefore

func (reConfiguration *ReConfiguration) LInsertBefore(ctx context.Context, key string, pivot, value interface{}) *redis.IntCmd

func (*ReConfiguration) LLen

func (reConfiguration *ReConfiguration) LLen(ctx context.Context, key string) *redis.IntCmd

func (*ReConfiguration) LMove

func (reConfiguration *ReConfiguration) LMove(ctx context.Context, source, destination, srcpos, destpos string) *redis.StringCmd

func (*ReConfiguration) LPop

func (reConfiguration *ReConfiguration) LPop(ctx context.Context, key string) *redis.StringCmd

func (*ReConfiguration) LPopCount

func (reConfiguration *ReConfiguration) LPopCount(ctx context.Context, key string, count int) *redis.StringSliceCmd

func (*ReConfiguration) LPos

func (reConfiguration *ReConfiguration) LPos(ctx context.Context, key string, value string, args redis.LPosArgs) *redis.IntCmd

func (*ReConfiguration) LPosCount

func (reConfiguration *ReConfiguration) LPosCount(ctx context.Context, key string, value string, count int64, args redis.LPosArgs) *redis.IntSliceCmd

func (*ReConfiguration) LPush

func (reConfiguration *ReConfiguration) LPush(ctx context.Context, key string, values ...interface{}) *redis.IntCmd

func (*ReConfiguration) LPushX

func (reConfiguration *ReConfiguration) LPushX(ctx context.Context, key string, values ...interface{}) *redis.IntCmd

func (*ReConfiguration) LRange

func (reConfiguration *ReConfiguration) LRange(ctx context.Context, key string, start, stop int64) *redis.StringSliceCmd

func (*ReConfiguration) LRem

func (reConfiguration *ReConfiguration) LRem(ctx context.Context, key string, count int64, value interface{}) *redis.IntCmd

func (*ReConfiguration) LSet

func (reConfiguration *ReConfiguration) LSet(ctx context.Context, key string, index int64, value interface{}) *redis.StatusCmd

func (*ReConfiguration) LTrim

func (reConfiguration *ReConfiguration) LTrim(ctx context.Context, key string, start, stop int64) *redis.StatusCmd

func (*ReConfiguration) LastSave

func (reConfiguration *ReConfiguration) LastSave(ctx context.Context) *redis.IntCmd

func (*ReConfiguration) MGet

func (reConfiguration *ReConfiguration) MGet(ctx context.Context, keys ...string) *redis.SliceCmd

func (*ReConfiguration) MSet

func (reConfiguration *ReConfiguration) MSet(ctx context.Context, values ...interface{}) *redis.StatusCmd

func (*ReConfiguration) MSetNX

func (reConfiguration *ReConfiguration) MSetNX(ctx context.Context, values ...interface{}) *redis.BoolCmd

func (*ReConfiguration) MemoryUsage

func (reConfiguration *ReConfiguration) MemoryUsage(ctx context.Context, key string, samples ...int) *redis.IntCmd

func (*ReConfiguration) Migrate

func (reConfiguration *ReConfiguration) Migrate(ctx context.Context, host, port, key string, db int, timeout time.Duration) *redis.StatusCmd

func (*ReConfiguration) Move

func (reConfiguration *ReConfiguration) Move(ctx context.Context, key string, db int) *redis.BoolCmd

func (*ReConfiguration) ObjectEncoding

func (reConfiguration *ReConfiguration) ObjectEncoding(ctx context.Context, key string) *redis.StringCmd

func (*ReConfiguration) ObjectIdleTime

func (reConfiguration *ReConfiguration) ObjectIdleTime(ctx context.Context, key string) *redis.DurationCmd

func (*ReConfiguration) ObjectRefCount

func (reConfiguration *ReConfiguration) ObjectRefCount(ctx context.Context, key string) *redis.IntCmd

func (*ReConfiguration) PExpire

func (reConfiguration *ReConfiguration) PExpire(ctx context.Context, key string, expiration time.Duration) *redis.BoolCmd

func (*ReConfiguration) PExpireAt

func (reConfiguration *ReConfiguration) PExpireAt(ctx context.Context, key string, tm time.Time) *redis.BoolCmd

func (*ReConfiguration) PFAdd

func (reConfiguration *ReConfiguration) PFAdd(ctx context.Context, key string, els ...interface{}) *redis.IntCmd

func (*ReConfiguration) PFCount

func (reConfiguration *ReConfiguration) PFCount(ctx context.Context, keys ...string) *redis.IntCmd

func (*ReConfiguration) PFMerge

func (reConfiguration *ReConfiguration) PFMerge(ctx context.Context, dest string, keys ...string) *redis.StatusCmd

func (*ReConfiguration) PTTL

func (reConfiguration *ReConfiguration) PTTL(ctx context.Context, key string) *redis.DurationCmd

func (*ReConfiguration) Persist

func (reConfiguration *ReConfiguration) Persist(ctx context.Context, key string) *redis.BoolCmd

func (*ReConfiguration) Ping

func (reConfiguration *ReConfiguration) Ping(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) Pipeline

func (reConfiguration *ReConfiguration) Pipeline() redis.Pipeliner

func (*ReConfiguration) Pipelined

func (reConfiguration *ReConfiguration) Pipelined(ctx context.Context, fn func(redis.Pipeliner) error) ([]redis.Cmder, error)

func (*ReConfiguration) PubSubChannels

func (reConfiguration *ReConfiguration) PubSubChannels(ctx context.Context, pattern string) *redis.StringSliceCmd

func (*ReConfiguration) PubSubNumPat

func (reConfiguration *ReConfiguration) PubSubNumPat(ctx context.Context) *redis.IntCmd

func (*ReConfiguration) PubSubNumSub

func (reConfiguration *ReConfiguration) PubSubNumSub(ctx context.Context, channels ...string) *redis.StringIntMapCmd

func (*ReConfiguration) Publish

func (reConfiguration *ReConfiguration) Publish(ctx context.Context, channel string, message interface{}) *redis.IntCmd

func (*ReConfiguration) Quit

func (reConfiguration *ReConfiguration) Quit(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) RPop

func (reConfiguration *ReConfiguration) RPop(ctx context.Context, key string) *redis.StringCmd

func (*ReConfiguration) RPopCount

func (reConfiguration *ReConfiguration) RPopCount(ctx context.Context, key string, count int) *redis.StringSliceCmd

func (*ReConfiguration) RPopLPush

func (reConfiguration *ReConfiguration) RPopLPush(ctx context.Context, source, destination string) *redis.StringCmd

func (*ReConfiguration) RPush

func (reConfiguration *ReConfiguration) RPush(ctx context.Context, key string, values ...interface{}) *redis.IntCmd

func (*ReConfiguration) RPushX

func (reConfiguration *ReConfiguration) RPushX(ctx context.Context, key string, values ...interface{}) *redis.IntCmd

func (*ReConfiguration) RandomKey

func (reConfiguration *ReConfiguration) RandomKey(ctx context.Context) *redis.StringCmd

func (*ReConfiguration) ReConfiguration

func (reConfiguration *ReConfiguration) ReConfiguration(c configurator.Configurator) error

func (*ReConfiguration) ReadOnly

func (reConfiguration *ReConfiguration) ReadOnly(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) ReadWrite

func (reConfiguration *ReConfiguration) ReadWrite(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) Rename

func (reConfiguration *ReConfiguration) Rename(ctx context.Context, key, newkey string) *redis.StatusCmd

func (*ReConfiguration) RenameNX

func (reConfiguration *ReConfiguration) RenameNX(ctx context.Context, key, newkey string) *redis.BoolCmd

func (*ReConfiguration) Restore

func (reConfiguration *ReConfiguration) Restore(ctx context.Context, key string, ttl time.Duration, value string) *redis.StatusCmd

func (*ReConfiguration) RestoreReplace

func (reConfiguration *ReConfiguration) RestoreReplace(ctx context.Context, key string, ttl time.Duration, value string) *redis.StatusCmd

func (*ReConfiguration) SAdd

func (reConfiguration *ReConfiguration) SAdd(ctx context.Context, key string, members ...interface{}) *redis.IntCmd

func (*ReConfiguration) SCard

func (reConfiguration *ReConfiguration) SCard(ctx context.Context, key string) *redis.IntCmd

func (*ReConfiguration) SDiff

func (reConfiguration *ReConfiguration) SDiff(ctx context.Context, keys ...string) *redis.StringSliceCmd

func (*ReConfiguration) SDiffStore

func (reConfiguration *ReConfiguration) SDiffStore(ctx context.Context, destination string, keys ...string) *redis.IntCmd

func (*ReConfiguration) SInter

func (reConfiguration *ReConfiguration) SInter(ctx context.Context, keys ...string) *redis.StringSliceCmd

func (*ReConfiguration) SInterStore

func (reConfiguration *ReConfiguration) SInterStore(ctx context.Context, destination string, keys ...string) *redis.IntCmd

func (*ReConfiguration) SIsMember

func (reConfiguration *ReConfiguration) SIsMember(ctx context.Context, key string, member interface{}) *redis.BoolCmd

func (*ReConfiguration) SMIsMember

func (reConfiguration *ReConfiguration) SMIsMember(ctx context.Context, key string, members ...interface{}) *redis.BoolSliceCmd

func (*ReConfiguration) SMembers

func (reConfiguration *ReConfiguration) SMembers(ctx context.Context, key string) *redis.StringSliceCmd

func (*ReConfiguration) SMembersMap

func (reConfiguration *ReConfiguration) SMembersMap(ctx context.Context, key string) *redis.StringStructMapCmd

func (*ReConfiguration) SMove

func (reConfiguration *ReConfiguration) SMove(ctx context.Context, source, destination string, member interface{}) *redis.BoolCmd

func (*ReConfiguration) SPop

func (reConfiguration *ReConfiguration) SPop(ctx context.Context, key string) *redis.StringCmd

func (*ReConfiguration) SPopN

func (reConfiguration *ReConfiguration) SPopN(ctx context.Context, key string, count int64) *redis.StringSliceCmd

func (*ReConfiguration) SRandMember

func (reConfiguration *ReConfiguration) SRandMember(ctx context.Context, key string) *redis.StringCmd

func (*ReConfiguration) SRandMemberN

func (reConfiguration *ReConfiguration) SRandMemberN(ctx context.Context, key string, count int64) *redis.StringSliceCmd

func (*ReConfiguration) SRem

func (reConfiguration *ReConfiguration) SRem(ctx context.Context, key string, members ...interface{}) *redis.IntCmd

func (*ReConfiguration) SScan

func (reConfiguration *ReConfiguration) SScan(ctx context.Context, key string, cursor uint64, match string, count int64) *redis.ScanCmd

func (*ReConfiguration) SUnion

func (reConfiguration *ReConfiguration) SUnion(ctx context.Context, keys ...string) *redis.StringSliceCmd

func (*ReConfiguration) SUnionStore

func (reConfiguration *ReConfiguration) SUnionStore(ctx context.Context, destination string, keys ...string) *redis.IntCmd

func (*ReConfiguration) Save

func (reConfiguration *ReConfiguration) Save(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) Scan

func (reConfiguration *ReConfiguration) Scan(ctx context.Context, cursor uint64, match string, count int64) *redis.ScanCmd

func (*ReConfiguration) ScanType

func (reConfiguration *ReConfiguration) ScanType(ctx context.Context, cursor uint64, match string, count int64, keyType string) *redis.ScanCmd

func (*ReConfiguration) ScriptExists

func (reConfiguration *ReConfiguration) ScriptExists(ctx context.Context, hashes ...string) *redis.BoolSliceCmd

func (*ReConfiguration) ScriptFlush

func (reConfiguration *ReConfiguration) ScriptFlush(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) ScriptKill

func (reConfiguration *ReConfiguration) ScriptKill(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) ScriptLoad

func (reConfiguration *ReConfiguration) ScriptLoad(ctx context.Context, script string) *redis.StringCmd

func (*ReConfiguration) Set

func (reConfiguration *ReConfiguration) Set(ctx context.Context, key string, value interface{}, expiration time.Duration) *redis.StatusCmd

func (*ReConfiguration) SetArgs

func (reConfiguration *ReConfiguration) SetArgs(ctx context.Context, key string, value interface{}, a redis.SetArgs) *redis.StatusCmd

func (*ReConfiguration) SetBit

func (reConfiguration *ReConfiguration) SetBit(ctx context.Context, key string, offset int64, value int) *redis.IntCmd

func (*ReConfiguration) SetEX

func (reConfiguration *ReConfiguration) SetEX(ctx context.Context, key string, value interface{}, expiration time.Duration) *redis.StatusCmd

func (*ReConfiguration) SetNX

func (reConfiguration *ReConfiguration) SetNX(ctx context.Context, key string, value interface{}, expiration time.Duration) *redis.BoolCmd

func (*ReConfiguration) SetRange

func (reConfiguration *ReConfiguration) SetRange(ctx context.Context, key string, offset int64, value string) *redis.IntCmd

func (*ReConfiguration) SetXX

func (reConfiguration *ReConfiguration) SetXX(ctx context.Context, key string, value interface{}, expiration time.Duration) *redis.BoolCmd

func (*ReConfiguration) Shutdown

func (reConfiguration *ReConfiguration) Shutdown(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) ShutdownNoSave

func (reConfiguration *ReConfiguration) ShutdownNoSave(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) ShutdownSave

func (reConfiguration *ReConfiguration) ShutdownSave(ctx context.Context) *redis.StatusCmd

func (*ReConfiguration) SlaveOf

func (reConfiguration *ReConfiguration) SlaveOf(ctx context.Context, host, port string) *redis.StatusCmd

func (*ReConfiguration) Sort

func (reConfiguration *ReConfiguration) Sort(ctx context.Context, key string, sort *redis.Sort) *redis.StringSliceCmd

func (*ReConfiguration) SortInterfaces

func (reConfiguration *ReConfiguration) SortInterfaces(ctx context.Context, key string, sort *redis.Sort) *redis.SliceCmd

func (*ReConfiguration) SortStore

func (reConfiguration *ReConfiguration) SortStore(ctx context.Context, key, store string, sort *redis.Sort) *redis.IntCmd

func (*ReConfiguration) StrLen

func (reConfiguration *ReConfiguration) StrLen(ctx context.Context, key string) *redis.IntCmd

func (*ReConfiguration) TTL

func (reConfiguration *ReConfiguration) TTL(ctx context.Context, key string) *redis.DurationCmd

func (*ReConfiguration) Time

func (reConfiguration *ReConfiguration) Time(ctx context.Context) *redis.TimeCmd

func (*ReConfiguration) Touch

func (reConfiguration *ReConfiguration) Touch(ctx context.Context, keys ...string) *redis.IntCmd

func (*ReConfiguration) TxPipeline

func (reConfiguration *ReConfiguration) TxPipeline() redis.Pipeliner

func (*ReConfiguration) TxPipelined

func (reConfiguration *ReConfiguration) TxPipelined(ctx context.Context, fn func(redis.Pipeliner) error) ([]redis.Cmder, error)

func (*ReConfiguration) Type

func (reConfiguration *ReConfiguration) Type(ctx context.Context, key string) *redis.StatusCmd
func (reConfiguration *ReConfiguration) Unlink(ctx context.Context, keys ...string) *redis.IntCmd

func (*ReConfiguration) XAck

func (reConfiguration *ReConfiguration) XAck(ctx context.Context, stream, group string, ids ...string) *redis.IntCmd

func (*ReConfiguration) XAdd

func (reConfiguration *ReConfiguration) XAdd(ctx context.Context, a *redis.XAddArgs) *redis.StringCmd

func (*ReConfiguration) XAutoClaim

func (reConfiguration *ReConfiguration) XAutoClaim(ctx context.Context, a *redis.XAutoClaimArgs) *redis.XAutoClaimCmd

func (*ReConfiguration) XAutoClaimJustID

func (reConfiguration *ReConfiguration) XAutoClaimJustID(ctx context.Context, a *redis.XAutoClaimArgs) *redis.XAutoClaimJustIDCmd

func (*ReConfiguration) XClaim

func (reConfiguration *ReConfiguration) XClaim(ctx context.Context, a *redis.XClaimArgs) *redis.XMessageSliceCmd

func (*ReConfiguration) XClaimJustID

func (reConfiguration *ReConfiguration) XClaimJustID(ctx context.Context, a *redis.XClaimArgs) *redis.StringSliceCmd

func (*ReConfiguration) XDel

func (reConfiguration *ReConfiguration) XDel(ctx context.Context, stream string, ids ...string) *redis.IntCmd

func (*ReConfiguration) XGroupCreate

func (reConfiguration *ReConfiguration) XGroupCreate(ctx context.Context, stream, group, start string) *redis.StatusCmd

func (*ReConfiguration) XGroupCreateConsumer

func (reConfiguration *ReConfiguration) XGroupCreateConsumer(ctx context.Context, stream, group, consumer string) *redis.IntCmd

func (*ReConfiguration) XGroupCreateMkStream

func (reConfiguration *ReConfiguration) XGroupCreateMkStream(ctx context.Context, stream, group, start string) *redis.StatusCmd

func (*ReConfiguration) XGroupDelConsumer

func (reConfiguration *ReConfiguration) XGroupDelConsumer(ctx context.Context, stream, group, consumer string) *redis.IntCmd

func (*ReConfiguration) XGroupDestroy

func (reConfiguration *ReConfiguration) XGroupDestroy(ctx context.Context, stream, group string) *redis.IntCmd

func (*ReConfiguration) XGroupSetID

func (reConfiguration *ReConfiguration) XGroupSetID(ctx context.Context, stream, group, start string) *redis.StatusCmd

func (*ReConfiguration) XInfoConsumers

func (reConfiguration *ReConfiguration) XInfoConsumers(ctx context.Context, key string, group string) *redis.XInfoConsumersCmd

func (*ReConfiguration) XInfoGroups

func (reConfiguration *ReConfiguration) XInfoGroups(ctx context.Context, key string) *redis.XInfoGroupsCmd

func (*ReConfiguration) XInfoStream

func (reConfiguration *ReConfiguration) XInfoStream(ctx context.Context, key string) *redis.XInfoStreamCmd

func (*ReConfiguration) XInfoStreamFull

func (reConfiguration *ReConfiguration) XInfoStreamFull(ctx context.Context, key string, count int) *redis.XInfoStreamFullCmd

func (*ReConfiguration) XLen

func (reConfiguration *ReConfiguration) XLen(ctx context.Context, stream string) *redis.IntCmd

func (*ReConfiguration) XPending

func (reConfiguration *ReConfiguration) XPending(ctx context.Context, stream, group string) *redis.XPendingCmd

func (*ReConfiguration) XPendingExt

func (reConfiguration *ReConfiguration) XPendingExt(ctx context.Context, a *redis.XPendingExtArgs) *redis.XPendingExtCmd

func (*ReConfiguration) XRange

func (reConfiguration *ReConfiguration) XRange(ctx context.Context, stream, start, stop string) *redis.XMessageSliceCmd

func (*ReConfiguration) XRangeN

func (reConfiguration *ReConfiguration) XRangeN(ctx context.Context, stream, start, stop string, count int64) *redis.XMessageSliceCmd

func (*ReConfiguration) XRead

func (reConfiguration *ReConfiguration) XRead(ctx context.Context, a *redis.XReadArgs) *redis.XStreamSliceCmd

func (*ReConfiguration) XReadGroup

func (reConfiguration *ReConfiguration) XReadGroup(ctx context.Context, a *redis.XReadGroupArgs) *redis.XStreamSliceCmd

func (*ReConfiguration) XReadStreams

func (reConfiguration *ReConfiguration) XReadStreams(ctx context.Context, streams ...string) *redis.XStreamSliceCmd

func (*ReConfiguration) XRevRange

func (reConfiguration *ReConfiguration) XRevRange(ctx context.Context, stream string, start, stop string) *redis.XMessageSliceCmd

func (*ReConfiguration) XRevRangeN

func (reConfiguration *ReConfiguration) XRevRangeN(ctx context.Context, stream string, start, stop string, count int64) *redis.XMessageSliceCmd

func (*ReConfiguration) XTrim

func (reConfiguration *ReConfiguration) XTrim(ctx context.Context, key string, maxLen int64) *redis.IntCmd

func (*ReConfiguration) XTrimApprox

func (reConfiguration *ReConfiguration) XTrimApprox(ctx context.Context, key string, maxLen int64) *redis.IntCmd

func (*ReConfiguration) XTrimMaxLen

func (reConfiguration *ReConfiguration) XTrimMaxLen(ctx context.Context, key string, maxLen int64) *redis.IntCmd

func (*ReConfiguration) XTrimMaxLenApprox

func (reConfiguration *ReConfiguration) XTrimMaxLenApprox(ctx context.Context, key string, maxLen, limit int64) *redis.IntCmd

func (*ReConfiguration) XTrimMinID

func (reConfiguration *ReConfiguration) XTrimMinID(ctx context.Context, key string, minID string) *redis.IntCmd

func (*ReConfiguration) XTrimMinIDApprox

func (reConfiguration *ReConfiguration) XTrimMinIDApprox(ctx context.Context, key string, minID string, limit int64) *redis.IntCmd

func (*ReConfiguration) ZAdd

func (reConfiguration *ReConfiguration) ZAdd(ctx context.Context, key string, members ...*redis.Z) *redis.IntCmd

func (*ReConfiguration) ZAddArgs

func (reConfiguration *ReConfiguration) ZAddArgs(ctx context.Context, key string, args redis.ZAddArgs) *redis.IntCmd

func (*ReConfiguration) ZAddArgsIncr

func (reConfiguration *ReConfiguration) ZAddArgsIncr(ctx context.Context, key string, args redis.ZAddArgs) *redis.FloatCmd

func (*ReConfiguration) ZAddCh

func (reConfiguration *ReConfiguration) ZAddCh(ctx context.Context, key string, members ...*redis.Z) *redis.IntCmd

func (*ReConfiguration) ZAddNX

func (reConfiguration *ReConfiguration) ZAddNX(ctx context.Context, key string, members ...*redis.Z) *redis.IntCmd

func (*ReConfiguration) ZAddNXCh

func (reConfiguration *ReConfiguration) ZAddNXCh(ctx context.Context, key string, members ...*redis.Z) *redis.IntCmd

func (*ReConfiguration) ZAddXX

func (reConfiguration *ReConfiguration) ZAddXX(ctx context.Context, key string, members ...*redis.Z) *redis.IntCmd

func (*ReConfiguration) ZAddXXCh

func (reConfiguration *ReConfiguration) ZAddXXCh(ctx context.Context, key string, members ...*redis.Z) *redis.IntCmd

func (*ReConfiguration) ZCard

func (reConfiguration *ReConfiguration) ZCard(ctx context.Context, key string) *redis.IntCmd

func (*ReConfiguration) ZCount

func (reConfiguration *ReConfiguration) ZCount(ctx context.Context, key, min, max string) *redis.IntCmd

func (*ReConfiguration) ZDiff

func (reConfiguration *ReConfiguration) ZDiff(ctx context.Context, keys ...string) *redis.StringSliceCmd

func (*ReConfiguration) ZDiffStore

func (reConfiguration *ReConfiguration) ZDiffStore(ctx context.Context, destination string, keys ...string) *redis.IntCmd

func (*ReConfiguration) ZDiffWithScores

func (reConfiguration *ReConfiguration) ZDiffWithScores(ctx context.Context, keys ...string) *redis.ZSliceCmd

func (*ReConfiguration) ZIncr

func (reConfiguration *ReConfiguration) ZIncr(ctx context.Context, key string, member *redis.Z) *redis.FloatCmd

func (*ReConfiguration) ZIncrBy

func (reConfiguration *ReConfiguration) ZIncrBy(ctx context.Context, key string, increment float64, member string) *redis.FloatCmd

func (*ReConfiguration) ZIncrNX

func (reConfiguration *ReConfiguration) ZIncrNX(ctx context.Context, key string, member *redis.Z) *redis.FloatCmd

func (*ReConfiguration) ZIncrXX

func (reConfiguration *ReConfiguration) ZIncrXX(ctx context.Context, key string, member *redis.Z) *redis.FloatCmd

func (*ReConfiguration) ZInter

func (reConfiguration *ReConfiguration) ZInter(ctx context.Context, store *redis.ZStore) *redis.StringSliceCmd

func (*ReConfiguration) ZInterStore

func (reConfiguration *ReConfiguration) ZInterStore(ctx context.Context, destination string, store *redis.ZStore) *redis.IntCmd

func (*ReConfiguration) ZInterWithScores

func (reConfiguration *ReConfiguration) ZInterWithScores(ctx context.Context, store *redis.ZStore) *redis.ZSliceCmd

func (*ReConfiguration) ZLexCount

func (reConfiguration *ReConfiguration) ZLexCount(ctx context.Context, key, min, max string) *redis.IntCmd

func (*ReConfiguration) ZMScore

func (reConfiguration *ReConfiguration) ZMScore(ctx context.Context, key string, members ...string) *redis.FloatSliceCmd

func (*ReConfiguration) ZPopMax

func (reConfiguration *ReConfiguration) ZPopMax(ctx context.Context, key string, count ...int64) *redis.ZSliceCmd

func (*ReConfiguration) ZPopMin

func (reConfiguration *ReConfiguration) ZPopMin(ctx context.Context, key string, count ...int64) *redis.ZSliceCmd

func (*ReConfiguration) ZRandMember

func (reConfiguration *ReConfiguration) ZRandMember(ctx context.Context, key string, count int, withScores bool) *redis.StringSliceCmd

func (*ReConfiguration) ZRange

func (reConfiguration *ReConfiguration) ZRange(ctx context.Context, key string, start, stop int64) *redis.StringSliceCmd

func (*ReConfiguration) ZRangeArgs

func (reConfiguration *ReConfiguration) ZRangeArgs(ctx context.Context, z redis.ZRangeArgs) *redis.StringSliceCmd

func (*ReConfiguration) ZRangeArgsWithScores

func (reConfiguration *ReConfiguration) ZRangeArgsWithScores(ctx context.Context, z redis.ZRangeArgs) *redis.ZSliceCmd

func (*ReConfiguration) ZRangeByLex

func (reConfiguration *ReConfiguration) ZRangeByLex(ctx context.Context, key string, opt *redis.ZRangeBy) *redis.StringSliceCmd

func (*ReConfiguration) ZRangeByScore

func (reConfiguration *ReConfiguration) ZRangeByScore(ctx context.Context, key string, opt *redis.ZRangeBy) *redis.StringSliceCmd

func (*ReConfiguration) ZRangeByScoreWithScores

func (reConfiguration *ReConfiguration) ZRangeByScoreWithScores(ctx context.Context, key string, opt *redis.ZRangeBy) *redis.ZSliceCmd

func (*ReConfiguration) ZRangeStore

func (reConfiguration *ReConfiguration) ZRangeStore(ctx context.Context, dst string, z redis.ZRangeArgs) *redis.IntCmd

func (*ReConfiguration) ZRangeWithScores

func (reConfiguration *ReConfiguration) ZRangeWithScores(ctx context.Context, key string, start, stop int64) *redis.ZSliceCmd

func (*ReConfiguration) ZRank

func (reConfiguration *ReConfiguration) ZRank(ctx context.Context, key, member string) *redis.IntCmd

func (*ReConfiguration) ZRem

func (reConfiguration *ReConfiguration) ZRem(ctx context.Context, key string, members ...interface{}) *redis.IntCmd

func (*ReConfiguration) ZRemRangeByLex

func (reConfiguration *ReConfiguration) ZRemRangeByLex(ctx context.Context, key, min, max string) *redis.IntCmd

func (*ReConfiguration) ZRemRangeByRank

func (reConfiguration *ReConfiguration) ZRemRangeByRank(ctx context.Context, key string, start, stop int64) *redis.IntCmd

func (*ReConfiguration) ZRemRangeByScore

func (reConfiguration *ReConfiguration) ZRemRangeByScore(ctx context.Context, key, min, max string) *redis.IntCmd

func (*ReConfiguration) ZRevRange

func (reConfiguration *ReConfiguration) ZRevRange(ctx context.Context, key string, start, stop int64) *redis.StringSliceCmd

func (*ReConfiguration) ZRevRangeByLex

func (reConfiguration *ReConfiguration) ZRevRangeByLex(ctx context.Context, key string, opt *redis.ZRangeBy) *redis.StringSliceCmd

func (*ReConfiguration) ZRevRangeByScore

func (reConfiguration *ReConfiguration) ZRevRangeByScore(ctx context.Context, key string, opt *redis.ZRangeBy) *redis.StringSliceCmd

func (*ReConfiguration) ZRevRangeByScoreWithScores

func (reConfiguration *ReConfiguration) ZRevRangeByScoreWithScores(ctx context.Context, key string, opt *redis.ZRangeBy) *redis.ZSliceCmd

func (*ReConfiguration) ZRevRangeWithScores

func (reConfiguration *ReConfiguration) ZRevRangeWithScores(ctx context.Context, key string, start, stop int64) *redis.ZSliceCmd

func (*ReConfiguration) ZRevRank

func (reConfiguration *ReConfiguration) ZRevRank(ctx context.Context, key, member string) *redis.IntCmd

func (*ReConfiguration) ZScan

func (reConfiguration *ReConfiguration) ZScan(ctx context.Context, key string, cursor uint64, match string, count int64) *redis.ScanCmd

func (*ReConfiguration) ZScore

func (reConfiguration *ReConfiguration) ZScore(ctx context.Context, key, member string) *redis.FloatCmd

func (*ReConfiguration) ZUnion

func (reConfiguration *ReConfiguration) ZUnion(ctx context.Context, store redis.ZStore) *redis.StringSliceCmd

func (*ReConfiguration) ZUnionStore

func (reConfiguration *ReConfiguration) ZUnionStore(ctx context.Context, dest string, store *redis.ZStore) *redis.IntCmd

func (*ReConfiguration) ZUnionWithScores

func (reConfiguration *ReConfiguration) ZUnionWithScores(ctx context.Context, store redis.ZStore) *redis.ZSliceCmd

Jump to

Keyboard shortcuts

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