sado
|
f068062b13
|
token limit support context (#2335)
* token limit support context
* add token limit with ctx
add token limit with ctx
Co-authored-by: sado <liaoyonglin@bilibili.com>
|
2 years ago |
Kevin Wan
|
db9a1f3e27
|
chore: rename methods (#1998)
|
2 years ago |
马守越
|
392a390a3f
|
periodlimit new function TakeWithContext (#1983)
Co-authored-by: mashouyue's m1max <mashouyue@toowow.cn>
|
2 years ago |
qi
|
96c128c58a
|
fix: HitQuota should be returned instead of Allowed when limit is equal to 1. (#1581)
|
3 years ago |
Kevin Wan
|
822ee2e1c5
|
feat: update go-redis to v8, support ctx in redis methods (#1507)
* feat: update go-redis to v8, support ctx in redis methods
* fix compile errors
* chore: remove unused const
* chore: add tracing log on redis
|
3 years ago |
Kevin Wan
|
fdc7f64d6f
|
chore: update unauthorized callback calling order (#1469)
* chore: update unauthorized callback calling order
* chore: add comments
|
3 years ago |
Kevin Wan
|
2203809e5e
|
chore: fix typo (#1437)
|
3 years ago |
Kevin Wan
|
53af194ef9
|
chore: refactor periodlimit (#1428)
* chore: refactor periodlimit
* chore: add comments
|
3 years ago |
Kevin Wan
|
a91c3907a8
|
feat: rename module from tal-tech to zeromicro (#1413)
|
3 years ago |
Kevin Wan
|
e43357164c
|
chore: replace redis.NewRedis with redis.New (#1103)
|
3 years ago |
Kevin Wan
|
84d2b6f8f5
|
fix golint issues in core/limit (#494)
|
4 years ago |
Kevin Wan
|
5e969cbef0
|
fix golint issues, else blocks (#457)
|
4 years ago |
bittoy
|
3819f67cf4
|
add redis geospatial (#209)
* add redis geospatial
* fix go test error
|
4 years ago |
kevin
|
d0b76b1d9a
|
move redistest into redis package
|
4 years ago |
kevin
|
b004b070d7
|
refine tests
|
4 years ago |
kevin
|
fe3739b7f3
|
fix golint issues
|
4 years ago |
kevin
|
0a7e0cce77
|
update package reference
|
4 years ago |
kevin
|
7e3a369a8f
|
initial import
|
4 years ago |