# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
redishelper
github.com/go-redis/redis/v8
的帮助程序
主要包括如下组件
原生结构
redisproxy
,redis客户端的代理对象,用于代理github.com/go-redis/redis/v8
的UniversalClient
scaner
,scan遍历全局keys的遍历器对象pubsubhelper
,pubsub模式的客户端,满足pchelper
定义的生产者接口ProducerInterface
和消费者接口ConsumerInterface
queuehelper
,redis双端队列的客户端,满足pchelper
定义的生产者接口ProducerInterface
和消费者接口ConsumerInterface
streamhelper
,redis的stream数据结构的客户端,满足pchelper
定义的生产者接口ProducerInterface
和消费者接口ConsumerInterface
,同时提供stream结构的管理对象incrlimiter
,使用redis的string数据结构的incr原子自增特性构造的限流器,满足limiterhelper
定义的限流器接口LimiterInterface
lock
,使用redis构造的分布式锁结构cache
,利用redis构造的分布式缓存,可以搭配lock
模块中定义的LockInterface
接口的实现和limiterhelper
定义的限流器接口LimiterInterface
的实现增强功能keycounter
,利用redis的string数据结构的incr原子自增特性构造的分布式计数器,满足模块counterhelper
定义的接口CounterInterface
hashcounter
,利用redis的hashmap数据结构的incr原子自增特性构造的分布式计数器,满足模块counterhelper
定义的接口CounterInterface
ranker
,利用redis的有序结合数据结构构造的分布式排序器hypercount
,利用redis的hypercount
构造的分布式大规模计数器,适用于统计日活等操作.bitmapset
,利用redis的bitmap
构造的分布式集合,适合用于去重操作,签到操作等keyspace_notifications
,管理keyspace_notifications
的设置,监听keyspace_notifications
事件
扩展组件
exthelper
,redis客户端的扩展管理对象exthelper/cellhelper
,redis扩展redis-cell的帮助模块exthelper/cellhelper/celllimiter
,使用redis的string数据结构的incr原子自增特性构造的限流器,满足limiterhelper
定义的限流器接口LimiterInterface
exthelper/redisbloomhelper
,使用RedisBloom的帮助程序.