zredis

package
v0.0.0-...-e38cb6b Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redis

type Redis interface {
	Reload(cfg *config.Redis)
	//GetCli() *redis.Client
	ZGet(key string) *redis.StringCmd
	ZSet(key string, value interface{}, expiration time.Duration) *redis.StatusCmd
	ZDel(key string) *redis.IntCmd
	ZIncr(key string) *redis.IntCmd
	ZTTL(key string) *redis.DurationCmd
	ZSetRange(key string, offset int64, value string) *redis.IntCmd
	ZSetNX(key string, value interface{}, expiration time.Duration) *redis.BoolCmd
	ZExpire(key string, expiration time.Duration) *redis.BoolCmd
	ZExists(key string) *redis.IntCmd
}

Jump to

Keyboard shortcuts

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