package
Version:
v0.0.4
Opens a new window with list of versions in this module.
Published: Jul 9, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Redis单实例
基于Redis单实例的缓存实现(单机),构造方法中(*redis.Options)参数的配置格式如下:
{
"Addr" : "缓存服务器主机地址:端口号",
"password" : "开启安全认证后的登录密码,可选"
}
Documentation
¶
New 返回一个*redis.Client并建立连接
Source Files
¶
Click to show internal directories.
Click to hide internal directories.