cache

package
v0.0.0-...-a2964e3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package cache provides caching functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redis

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

Redis represents a Redis client instance.

func NewRedis

func NewRedis(cfg *config.Redis, logger *zap.Logger) (*Redis, error)

NewRedis creates a new Redis client instance.

func (*Redis) Close

func (r *Redis) Close() error

Close closes the Redis client connection.

Jump to

Keyboard shortcuts

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