redis

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

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

Go to latest
Published: Jan 22, 2022 License: GPL-3.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 NewCache

func NewCache(rd *cache.RedisClient) *Cache

func (Cache) CacheKey

func (c Cache) CacheKey(ctx context.Context, key uuid.UUID) error

func (Cache) CheckKey

func (c Cache) CheckKey(ctx context.Context, key uuid.UUID) (bool, error)

Jump to

Keyboard shortcuts

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