redis_driver

package
v0.0.0-...-b1e3f6c Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRedisDriver

func NewRedisDriver(client *redis.Client) storage_driver.StorageDriver

Types

type RedisDriver

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

func (RedisDriver) Get

func (r RedisDriver) Get(ctx context.Context, key string) (string, error)

func (RedisDriver) Set

func (r RedisDriver) Set(ctx context.Context, key string, value string) error

Jump to

Keyboard shortcuts

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