redisrepo

package
v0.0.0-...-16accc7 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get[T any](r *redis.Client, ctx context.Context, key string) (*T, error)

func GetMany

func GetMany[T any](r *redis.Client, ctx context.Context, key string) ([]*T, error)

func SetJSON

func SetJSON(r *redis.Client, ctx context.Context, key string, value interface{}, expiration time.Duration) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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