343 Commits

Author SHA1 Message Date
Fenny
f4e40a7224 🩹 remove invalid test 2020-11-06 02:00:06 +01:00
Fenny
0d3d6d9fe8 📦 update fasthttp and storage interface 2020-11-06 01:52:05 +01:00
Fenny
7b9991005f 📦 add TimeInterval 2020-11-03 15:37:50 +01:00
Fenny
39e3fedb69 Merge remote-tracking branch 'upstream/master' 2020-11-01 10:51:08 +01:00
Fenny
1ebdf49faf ✏ add logger comments
Co-Authored-By: nickland03 <52105217+nickland03@users.noreply.github.com>
2020-11-01 10:50:23 +01:00
LeoZhan
00750b8989 refactor: format the code 2020-11-01 00:32:01 +08:00
Joey
5d6e62b7c1
Merge pull request #984 from Fenny/master
✏ update Storage behaviour
2020-10-30 23:55:56 -07:00
Fenny
7892ab62bf 📦 update Storage behaviour 2020-10-31 07:51:44 +01:00
Tom
1ad625704d
📦 Add Key option to Cache config (#983) 2020-10-31 01:19:33 +00:00
Joey
eea842dc39
Merge pull request #978 from Fenny/master
🧹 remove unused code
2020-10-28 23:01:15 -07:00
Fenny
7ca70fcb17 🔍 verify body length
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-10-29 06:54:41 +01:00
Fenny
f5314b66b9 📈 update benchmark
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-10-29 06:50:09 +01:00
Fenny
cee3c759e3 🦺 copy cType in cache mw
Co-Authored-By: kiyon <kiyon@gofiber.io>
2020-10-29 06:43:59 +01:00
Fenny
5bc5f96324 🦺 make copy of body 2020-10-29 06:41:05 +01:00
Fenny
70d7c53557 🩹 fix race condition 2020-10-29 06:38:41 +01:00
Fenny
79c151c238 🚀 improve Store in cache mw 2020-10-29 06:32:09 +01:00
Fenny
7f3d31c4a3 🧹 remove unused code 2020-10-29 06:14:02 +01:00
renanbastos93
8ad1d16f3a 💉 test: using sendfile method 2020-10-28 11:44:14 -03:00
Fenny
c78a5013c0 update sendfile
Co-Authored-By: Renan Bastos <renanbastos.tec@gmail.com>
2020-10-28 05:37:07 +01:00
renanbastos93
1b4c0432c0 🔪 change signature method 2020-10-28 01:25:08 -03:00
renanbastos93
e41bf7f08f 🚀 start poc 2020-10-28 01:11:49 -03:00
Joey
58cd7a9245
Merge pull request #976 from Fenny/master
💼 implement Storage in cache
2020-10-27 19:59:03 -07:00
Fenny
67eed4c721 🚀 restore benchmark
Co-Authored-By: Rafael Cossovan <navossoc@gmail.com>
2020-10-28 03:56:54 +01:00
Fenny
17b6597ec8 💼 add locals to logger
Co-Authored-By: Rafael Cossovan <navossoc@gmail.com>
2020-10-28 03:54:40 +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
Joey
0d53f94385
Merge pull request #973 from Fenny/master
🧽 update limiter & filesystem
2020-10-27 03:01:50 -07:00
Fenny
32fdbf0ddf ✏ rename variable 2020-10-27 10:58:51 +01:00
Fenny
d5dbad6476 🧹 remove unused key 2020-10-27 08:14:58 +01:00
Fenny
8334eb1f9e 🏬 clean storage in limiter 2020-10-27 08:12:53 +01:00
Fenny
726600f577 🧳 add maxAge to filesystem mw 2020-10-27 08:12:37 +01:00
kiyon
d8e763e366 🩹 Keep csrf token per session 2020-10-27 12:15:51 +08:00
Joey B
0c721db068
Merge pull request #900 from codemicro/limiter-custom-store
Add custom store to limiter middleware
2020-10-26 19:30:47 -07: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
G2G2G2G
8c0bd56ef3
Update README.md 2020-10-25 21:51:11 -05:00
Joey B
4dd33f158e
Merge pull request #962 from sbielenica/adjust-compression-test
🚨 Add missing header and compression result assertion in different compression levels test
2020-10-25 16:26:55 -07:00
Joey B
e619451d9e
Merge pull request #959 from kiyonlin/improve-csrf
👷 Improve csrf middleware
2020-10-25 16:26:40 -07:00
Szymon Bielenica
56283b8afd 🎨 Adjust multiple comments to comply with the linter 2020-10-25 12:23:10 +01:00