go_redis_v8_impl

package
v0.0.0-...-1afac4e Latest Latest
Warning

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

Go to latest
Published: Sep 14, 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 RedisClientImplGoRedis

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

func NewRedisClientImplGoRedis

func NewRedisClientImplGoRedis(client *redis.Client) *RedisClientImplGoRedis

func (*RedisClientImplGoRedis) Eval

func (r *RedisClientImplGoRedis) Eval(ctx context.Context, script string, keys []string, args ...interface{}) (interface{}, error)

func (*RedisClientImplGoRedis) SetNX

func (r *RedisClientImplGoRedis) SetNX(ctx context.Context, key string, value interface{}, expiration time.Duration) (bool, error)

Jump to

Keyboard shortcuts

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