go-zero/core/limit
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>
2022-10-11 22:40:00 +08:00
..
periodlimit_test.go fix: HitQuota should be returned instead of Allowed when limit is equal to 1. (#1581) 2022-03-04 16:14:45 +08:00
periodlimit.go chore: rename methods (#1998) 2022-06-11 12:34:10 +08:00
tokenlimit_test.go token limit support context (#2335) 2022-10-11 22:40:00 +08:00
tokenlimit.go token limit support context (#2335) 2022-10-11 22:40:00 +08:00