cache

package
v0.0.0-...-165d932 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisCache

type RedisCache struct {
}

func (*RedisCache) RedisConnect

func (c *RedisCache) RedisConnect() (context.Context, *redis.Client)

func (*RedisCache) RedisGetCache

func (c *RedisCache) RedisGetCache(key string) (val string, err error)

func (*RedisCache) RedisKeyExists

func (c *RedisCache) RedisKeyExists(key string) bool

func (*RedisCache) RedisSetCache

func (c *RedisCache) RedisSetCache(key string, data interface{}) (err error)

Jump to

Keyboard shortcuts

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