package
2.1.1+incompatible
Repository: https://github.com/luyingjie/utils.git
Documentation: pkg.go.dev
# Functions
ClearConfig removes all configurations and instances of redis.
ConfigFromStr parses and returns config from given str.
GetConfig returns the global configuration with specified group name.
No description provided by the author
GetRedisConn 从redis池子拿去一个n号库的链接
n int redis 对应的n号库
*/.
No description provided by the author
No description provided by the author
Instance returns an instance of redis client with specified group.
IsConnError 判断是否有错误
*/.
New creates a redis client object with given configuration.
NewFromStr creates a redis client object with given configuration string.
No description provided by the author
RedisInit redis 初始化
*/.
No description provided by the author
RemoveConfig removes the global configuration with specified group.
No description provided by the author
SetConfig sets the global configuration for specified group.
SetConfigByStr sets the global configuration for specified group with string.
# Constants
Default configuration group name.
Default redis port configuration if not passed.