redisx

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisX

type RedisX struct {
	redis.Cmdable
}

func NewRedisX

func NewRedisX(conf *config.RedisConf) *RedisX

func (*RedisX) HIncrByEX added in v0.0.6

func (rx *RedisX) HIncrByEX(ctx context.Context, key, field string, incr int64, ttl time.Duration) error

func (*RedisX) HIncrByXEX added in v0.0.6

func (rx *RedisX) HIncrByXEX(ctx context.Context, key, field string, incr int64, ttl time.Duration) error

func (*RedisX) ZAddEX

func (rx *RedisX) ZAddEX(ctx context.Context, key string, zs []*redis.Z, ttl time.Duration) error

func (*RedisX) ZAddXEX

func (rx *RedisX) ZAddXEX(ctx context.Context, key string, zs []*redis.Z, ttl time.Duration) error

Jump to

Keyboard shortcuts

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