package
0.1.8
Repository: https://github.com/sagoo-cloud/nexframe.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewCacheManager 创建 CacheManager 实例.
NewCacheStats 创建 CacheStats 实例.
NewFreeCache 创建 FreeCache 实例.
NewRedisCache 创建 RedisCache 实例.

# Structs

CacheManager 结构体,管理内存缓存和 Redis 缓存.
CacheStats 结构体,用于记录缓存统计信息.
Config 结构体用于存储缓存系统的配置.
FreeCache 结构体,实现内存缓存.
RedisCache 结构体,实现 Redis 缓存.

# Interfaces

CacheStorage 定义缓存存储接口.
DistributedCache 定义分布式缓存接口.
ErrorHandler 自定义错误处理接口.