26 Commits

Author SHA1 Message Date
leonklingele
6334f2c9ff
🚀 v3 Feature: Make app.Test accept a time.Duration timeout (#2269)
app: make app.Test accept a time.Duration timeout

Cases found by running semgrep with an empty .semgrepignore file

    semgrep --lang=go -e '$O.Test($X, $Y)'
2022-12-12 20:39:52 +01:00
Trim21
c964fda009
v3(tests): use testify for assertion (#2036)
* replace

* write

* rewrite more

* rewrite

* rewrite

* fix

* rewrite
2022-08-22 07:57:10 +02:00
Muhammed Efe Çetin
4105b008c2
Merge remote-tracking branch 'origin/master' into v3-beta 2022-08-19 14:33:31 +03: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
f119794035
v3: replace io/ioutil by io and os, update version constant 2022-06-01 18:34:22 +03:00
Muhammed Efe Çetin
1188144d78
🎉 v3: init 2022-05-31 17:35:49 +03:00
hi019
bc7b240158 improve mw 2020-11-21 12:36:16 -05:00
hi019
52ec20c3b4 do basicauth, cache and compress 2020-11-21 12:23:35 -05:00
Fenny
8bd50de610 🧹 housekeeping 2020-11-11 13:54:27 +01: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
Szymon Bielenica
56283b8afd 🎨 Adjust multiple comments to comply with the linter 2020-10-25 12:23:10 +01:00
Szymon Bielenica
552f5a99cc 🚨 Add missing header and compression result assertion in different compression levels test 2020-10-25 12:04:53 +01:00
Konstantinos Lypitkas
550d3a3549 Fix grammatical issues 2020-10-08 10:56:25 +03:00
Konstantinos Lypitkas
60cebf2506 Add custom types to compress middleware 2020-10-08 00:05:34 +03:00
Roman
6e72025b6c ♻️ compression: avoid magic numbers in compression level check
Avoid the magic numbers to make it easier to read
2020-10-07 09:56:27 +02:00
kiyon
e6a14a879a 📚 fix typo 2020-09-28 13:12:54 +08:00
Vasanth Kumar
0f85d566a0
🎨 : Updated navigation for the examples 2020-09-19 09:53:30 +05:30
kiyon
616ff8f532 👷 remove unnecessary fiber app config 2020-09-17 13:41:06 +08:00
Fenny
ebe107d54f 📘 add csrf readme 2020-09-16 15:36:33 +02:00
kiyon
531d06094f 👷 add compress different level test case 2020-09-16 16:50:13 +08:00
kiyon
d9d0118881 👷 increase Test_Compress_Brotli request timeout 2020-09-16 15:22:04 +08:00
kiyon
3ab65a3dbf 👷 improve compress mw test cases 2020-09-16 09:48:59 +08:00
kiyon
e13411e184 👷 improve mw test cases
add Next test case
2020-09-16 09:44:05 +08: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