cache

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectRedis

func ConnectRedis(cfg *config.Env) (*redis.Client, error)

Types

type Cache

type Cache struct {
	RedisClient *redis.Client
	// contains filtered or unexported fields
}

func NewCache

func NewCache(cfg *config.Env, redisClient *redis.Client) *Cache

func (*Cache) Close

func (pkg *Cache) Close() error

Jump to

Keyboard shortcuts

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