aboutsummaryrefslogtreecommitdiff
path: root/rate (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unify code into default repo formatEuAndreh2025-01-222-610/+0
|
* eliminate some type assertionsChris Wendt2022-06-081-4/+4
|
* use time.SinceChris Wendt2022-06-081-1/+1
|
* remove unnecessary type parametersChris Wendt2022-06-081-2/+2
|
* BIG change: generic Var[T], txVar, etc.Chris Wendt2022-06-082-15/+16
|
* Use builtin eq var in rate and stmutilMatt Joiner2020-10-021-1/+1
| | | | In particular, in the rate limiter this gives a massive performance increase.
* Make returns explicitMatt Joiner2019-11-061-9/+10
|
* Transfer project stewardship to anacrolixMatt Joiner2019-11-031-2/+2
| | | | See https://github.com/lukechampine/stm/issues/3#issuecomment-549087541.
* Add stm friendly rate limiterMatt Joiner2019-11-022-0/+608
The tests are from golang.org/x/time/rate, and the limiter tries to have a similar API.