goredis

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opt *redis.Options) cache.Client

Types

type Client

type Client struct {
	*redis.Client
}

func (*Client) Get

func (c *Client) Get(ctx context.Context, key string) (interface{}, error)

func (*Client) Set

func (c *Client) Set(ctx context.Context, key string, val interface{}, exp time.Duration) error

Jump to

Keyboard shortcuts

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