redis

package
v0.0.0-...-c99e9fc Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2024 License: MIT Imports: 6 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 {
	redis.Service
}

func (*Cache) CreateKeys

func (c *Cache) CreateKeys(ctx context.Context, cks ...cookie.Keys) error

CreateKeys implementation for CookieKeys in redis.

func (*Cache) DeleteKeys

func (c *Cache) DeleteKeys(ctx context.Context, f cookie.FilterKeys) error

DeleteKeys implementation for CookieKeys in redis.

func (*Cache) ReadKeys

func (c *Cache) ReadKeys(ctx context.Context, f cookie.FilterKeys) ([]cookie.Keys, error)

ReadKeys implementation for CookieKeys in redis.

func (*Cache) RotateKeys

func (c *Cache) RotateKeys(ctx context.Context, ck cookie.Keys, size int64) error

RotateKeys implementation for CookieKeys in redis.

Jump to

Keyboard shortcuts

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