valkeycache

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2025 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

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

func New

func New(rdb *valkey.Client) *Cache

func (*Cache) Get

func (c *Cache) Get(ctx context.Context, key string, q *caches.Query[any]) (*caches.Query[any], error)

func (*Cache) Invalidate

func (c *Cache) Invalidate(ctx context.Context) error

func (*Cache) Store

func (c *Cache) Store(ctx context.Context, key string, val *caches.Query[any]) error

Jump to

Keyboard shortcuts

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