Juan Calderon-Perez
25e399213c
chore: Add support for go1.23 and golangci-lint v1.60.1 ( #3101 )
...
* Bump min go to 1.22, bump golangci-lint to v1.60.1, regenerate all msgp
* Fix golanci-lint issues
* Fix golanci-lint issues
2024-08-14 09:14:04 +02:00
Lucas Lemos
011c8f8007
✨ feat: Add Max Func to Limiter Middleware ( #3070 )
...
* feat: add max calculator to limiter middleware
* docs: update docs including the new parameter
* refactor: add new line before go code in docs
* fix: use crypto/rand instead of math/rand on tests
* test: add new test with zero set as limit
* fix: repeated tests failing when generating random limits
* fix: wrong type of MaxCalculator in docs
* feat: include max calculator in limiter_sliding
* refactor: rename MaxCalculator to MaxFunc
* docs: update docs with MaxFunc parameter
* tests: rename tests and add test for limiter sliding
2024-07-23 23:00:37 +02:00
Muhammed Efe Cetin
75bb02b87e
Merge remote-tracking branch 'origin/master' into v3-beta
2023-08-05 22:02:01 +03:00
Oleg
b9e93ccd4a
Fix Sliding Window limiter when SkipSuccessfulRequests/SkipFailedRequests is used. ( #2484 )
...
* Fix Sliding Window limiter when SkipSuccessfulRequests/SkipFailedRequests is used.
* Add tests.
* Fix linter.
---------
Co-authored-by: Oleg Bakumenko <Bakumenko.Oleg@wb.ru>
2023-06-01 08:00:31 +02:00
Kris Carr
f26d9b1d4e
v3 (deps): update to use gofiber/utils/v2 ( #2184 )
2022-10-31 16:44:53 +03:00
Muhammed Efe Çetin
9428befb9c
Merge remote-tracking branch 'origin/master' into v3-beta
2022-10-28 17:26:17 +03:00
RW
ce2d087394
Improve memory storage ( #2162 )
...
* improve memory storage code and performance
* improve memory storage code and performance
* improve memory storage code and performance
* improve memory storage code and performance
* improve memory storage code and performance
* improve memory storage code and performance
2022-10-19 16:22:42 +02:00
M. Efe Çetin
a458bd344c
✨ v3 (feature): convert fiber.Ctx type to interface ( #1928 )
...
* ✨ v3: convert fiber.Ctx type to interface
* update ctx methods
* add new methods to customize ctx, fix some problems
* update comments.
* fix something
2022-07-13 07:48:29 +02:00
Muhammed Efe Çetin
1188144d78
🎉 v3: init
2022-05-31 17:35:49 +03:00
Norbert Hauriel
569511eb78
📝 fix file names ( #1747 ) ( #1748 )
2022-02-03 12:58:59 -05:00