package
0.0.0-20200912121113-c6def774e8b6
Repository: https://github.com/wencan/cachex.git
Documentation: pkg.go.dev

# README

rdscache

-- import "github.com/wencan/cachex/rdscache"

# Functions

NewRdsCache 创建redis缓存对象 内部创建redis连接池.
NewRdsCacheWithPool 创建redis缓存对象 使用现有redis连接池.
RdsDefaultTTLOption 配置key默认生存时间.
RdsKeyPrefixOption 配置key前缀.

# Variables

Marshal 数据序列化函数.
Unmarshal 数据反序列化函数.

# Structs

NotFound 没找到错误.
PoolConfig redis池连接参数.
RdsCache redis存储实现.
RdsOption rdscache配置.