package
2.1.0
Repository: https://github.com/golang-tools/redishelper.git
Documentation: pkg.go.dev

# Functions

New 创建一个新的位图对象@params k *key.Key redis客户端的键对象.
WithAutoRefreshInterval 设置自动刷新过期时间的设置.
WithKey 中间件通用设置,指定使用的键,注意设置后namespace依然有效.
WithMaxTTL 设置token消减间隔时长,单位s.
WithNamespace 中间件通用设置,指定锁的命名空间.
WithSpecifiedKey 中间件通用设置,指定使用的键,注意设置key后namespace将失效.
WithTaskCron 设置定时器.

# Variables

Defaultopt 默认的可选配置.

# Structs

Counter 分布式计数器.
Options broker的配置.