# Functions
Connect 连接redis.
Del 删除key.
Get 获取key的值.
GetKeyEventExpired 需要修改redis.conf配置项,启用notify-keyspace-events = "EX".
HashDel 删除Hash字段.
HashGetAll 获取Hash的所有字段和值.
HashGetString 获取Hash字段的值.
HashSet 设置Hash.
HashUpdate 更新Hash字段.
IsRedisNilErr 判断是否为redis.Nil.
SetEx 设置key和值,并设置过期时间.
Subscribe 订阅一个key.
WithDB 设置数据库.
WithUserAndPass 设置用户名和密码.
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author