cache

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

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

Go to latest
Published: Jun 2, 2025 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client *redis.Client

Functions

func Del

func Del(ctx context.Context, key string) error

func Get

func Get[T any](ctx context.Context, key string) (*T, bool)

func GetList

func GetList[T any](ctx context.Context, key string) ([]*T, bool)

func Init

func Init()

func Set

func Set[T any](ctx context.Context, key string, value T, expired 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