1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-23 05:44:23 +00:00

43 Commits

Author SHA1 Message Date
Fenny
558d802cdd 🩹 Fix expiration check 2020-11-13 18:34:01 +01:00
Fenny
70a3a4dc21 🩹 fix limiter 2020-11-11 18:28:27 +01:00
Fenny
66ee4de7d8 🕊 rename token to key 2020-11-11 18:19:53 +01:00
Fenny
8bd50de610 🧹 housekeeping 2020-11-11 13:54:27 +01:00
Fenny
0d3d6d9fe8 📦 update fasthttp and storage interface 2020-11-06 01:52:05 +01:00
Fenny
7892ab62bf 📦 update Storage behaviour 2020-10-31 07:51:44 +01:00
Fenny
a90ebb7098 ✏ add msgp tags
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-28 02:35:49 +01:00
Fenny
c863519f54 ✏ refactor unit test
Co-Authored-By: Tom <tom@tdpain.net>
2020-10-28 02:31:30 +01:00
Fenny
ecdda95e15 💼 implement Storage 2020-10-28 02:29:47 +01:00
Fenny
32fdbf0ddf ✏ rename variable 2020-10-27 10:58:51 +01:00
Fenny
8334eb1f9e 🏬 clean storage in limiter 2020-10-27 08:12:53 +01:00
Tom
c4dfe9a500
📦 Remove unused imports 2020-10-26 21:28:51 +00:00
Tom
847a7b5518
Merge remote-tracking branch 'origin/limiter-custom-store' into limiter-custom-store 2020-10-26 21:26:33 +00:00
Tom
66d2e7deda
📦 Switch to fiber.Storage and msgp 2020-10-26 21:25:30 +00:00
Tom
43e100f36c
📦 Make expiry of set keys cfg.Duration 2020-10-26 11:11:55 +00:00
Tom
3308a32a3a
📦 Change default configuration and add test for custom store 2020-10-26 11:11:55 +00:00
Tom
23bddfd23f
I promise this is the last commit like this 2020-10-26 11:11:55 +00:00
Tom
59f2497b48
I am stupid 2020-10-26 11:11:55 +00:00
Tom
bc3b69ccca
Fix gosec and tests 2020-10-26 11:11:54 +00:00
Tom
9269513917
📝 Update docs/comments for limiter middleware 2020-10-26 11:11:54 +00:00
Tom
5c9f8a52fd
📦 Implement storage method switching 2020-10-26 11:11:54 +00:00
Tom
87419a26d7
Update limiter middleware tests 2020-10-26 11:11:53 +00:00
Tom
e8e706c2b8
📦 Add storage interface to limiter middleware 2020-10-26 11:11:40 +00:00
Tom
90663b23b8
📦 Make expiry of set keys cfg.Duration 2020-10-21 19:57:24 +01:00
Tom
1976358338
📦 Change default configuration and add test for custom store 2020-10-10 15:34:45 +01:00
Tom
8500fd1289
I promise this is the last commit like this 2020-10-08 21:16:10 +01:00
Tom
3043033f0a
I am stupid 2020-10-08 21:14:04 +01:00
Tom
fc11562191
Fix gosec and tests 2020-10-08 21:12:27 +01:00
Tom
d6a435d024
📝 Update docs/comments for limiter middleware 2020-10-08 20:48:54 +01:00
Tom
27dbd393ad
📦 Implement storage method switching 2020-10-08 20:48:08 +01:00
Tom
ef3cc9eb9b
Update limiter middleware tests 2020-10-08 19:54:54 +01:00
Tom
99c9ba9425
📦 Add storage interface to limiter middleware 2020-10-08 19:54:39 +01:00
kiyon
616ff8f532 👷 remove unnecessary fiber app config 2020-09-17 13:41:06 +08:00
Fenny
b31f6b2ba4 ✏ better readability 2020-09-16 22:16:41 +02:00
kiyon
e13411e184 👷 improve mw test cases
add Next test case
2020-09-16 09:44:05 +08:00
Fenny
a06d072e43 🧹 remove comment 2020-09-15 20:55:44 +02:00
Fenny
2bf748c91a 🍌 use uint64 instead 2020-09-15 20:53:29 +02:00
Fenny
9bc4f6298d 🧪 update limiter test case 2020-09-15 20:43:22 +02:00
Fenny
9fa54e4d69 🩹 fix limiter racce condition 2020-09-15 20:39:39 +02:00
Fenny
d908716132 📦 fix limiter 2020-09-15 20:28:15 +02:00
Fenny
2768ea2a77 🙌 make utils public
Co-Authored-By: RW <7063188+ReneWerner87@users.noreply.github.com>
2020-09-14 12:12:29 +02:00
Fenny
a3cac71ae8 🔦 move utils to internal 2020-09-14 09:09:06 +02:00
Fenny
ec5d66e7a8 v2 2020-09-13 11:20:11 +02:00