# Functions
New 新建一个排序器@params k *key.Key redis客户端的键对象.
Reverse 控制排序从是否从大到小排序.
ScopFrom 排序的下限.
ScopTo 排序的上限.
WithAutoRefreshInterval 设置自动刷新过期时间的设置.
WithKey 中间件通用设置,指定使用的键,注意设置后namespace依然有效.
WithMaxTTL 设置token消减间隔时长,单位s.
WithNamespace 中间件通用设置,指定锁的命名空间.
WithSpecifiedKey 中间件通用设置,指定使用的键,注意设置key后namespace将失效.
WithTaskCron 设置定时器.
# Variables
Defaultopt 默认的可选配置.
ErrElementNotExist 元素不存在.
ErrKeyNotExists key不存在.
ErrParamNMustBePositive 参数n必须是大于0.
ErrRankerror 排名不存在.
# Interfaces
No description provided by the author