fenny
8605857678
🚀 refactor: improve logic method BodyParser
...
🚀 refactor: improve logic method BodyParser
2020-07-14 22:55:20 -04:00
renanbastos93
d61e478578
🚀 refactor: improve logic method BodyParser
2020-07-14 12:18:44 -03:00
Fenny
0a3eb08530
Merge remote-tracking branch 'upstream/master'
2020-07-14 14:35:26 +02:00
ReneWerner87
fa9128b7d6
🐞 prevent duplicates in ctx.Append for similar wording of the value
2020-07-14 12:21:55 +02:00
renanbastos93
e070968d2d
🚀 refactor: change status code number to constant
2020-07-14 00:55:41 -03:00
Fenny
20cba2604b
🔌 Add IPv6 support
...
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-14 03:53:58 +02:00
Fenny
b8fbaca1ea
🔌 Add IPv6 Support
...
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-14 03:02:26 +02:00
kiyon
b7b14bcbc3
🍞 adjust import 3rd package location
2020-07-13 14:01:11 +08:00
kiyon
9d9cfa8424
🚨 extract func quoteString() for ctx.Attachment and ctx.Download
2020-07-13 12:37:50 +08:00
kiyon
2cfc1b1546
👷 Extract "USE" to a global const variable
2020-07-12 23:54:22 +08:00
Fenny
94fa10c85b
🐛 Fix typo
2020-07-10 14:15:41 +02:00
Fenny
3484897184
🐛 Avoid method override on 405
2020-07-10 13:57:53 +02:00
kiyon
ce3d44613c
🔧 fix #556 remove ctx.matched things
2020-07-07 23:25:02 +08:00
Fenny
a21897d0de
🔨 Define return Addr in Test
2020-07-05 11:09:01 +02:00
Fenny
5250a33879
Add defaultvalue
2020-07-04 10:11:23 +02:00
ReneWerner87
d57651835b
improve routing performance
2020-06-29 22:51:41 +02:00
Fenny
578e566475
Add 405 Support
2020-06-21 12:17:22 +02:00
Fenny
4102262dd7
Add benchmark
2020-06-21 11:11:45 +02:00
Fenny
8db7e169a3
Update utils.go
2020-06-21 11:04:46 +02:00
Fenny
ef264df776
Update utils.go
2020-06-21 11:03:17 +02:00
Fenny
3568613dfa
Update 405 Tests
2020-06-21 11:02:17 +02:00
Fenny
09116ae22b
Add 405 Support
2020-06-21 10:47:03 +02:00
Fenny
44d739496d
Add 405 Method Not Allowed
2020-06-20 17:26:48 +02:00
wernerr
e674d679df
move path matching and registration in separate file "path.go"
2020-06-14 12:37:09 +02:00
wernerr
f816c6706f
add support for -. chars in the route
2020-06-14 12:06:14 +02:00
wernerr
bbcff3f375
add support for -. chars in the route
2020-06-13 18:34:31 +02:00
wernerr
0a615653cb
add support for -. chars in the route
2020-06-13 18:18:25 +02:00
wernerr
91a5185307
add support for -. chars in the route
2020-06-13 16:54:38 +02:00
wernerr
3e6261b7c4
add support for -_. chars in the route
2020-06-12 16:06:12 +02:00
wernerr
f4292c9030
add support for -_. chars in the route
2020-06-12 13:29:16 +02:00
Fenny
5d649f7270
🚚 Add Errors
2020-06-06 18:53:51 +02:00
Fenny
cd9aa0f9c5
⌨️ Fix typo
2020-06-06 07:30:30 +02:00
Fenny
027823e084
Return 404 if Next does not match
2020-06-01 13:45:04 +02:00
ReneWerner87
b81126d3d7
Reduce pre allocated memory, fix Etag benchmark, cleanup unused stuff
2020-05-23 14:56:52 +02:00
Fenny
7747f73614
Remove un-used map
...
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:53:20 +02:00
Fenny
63cfbf4bc2
Replace utils with gofiber/utils
...
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-05-23 09:30:21 +02:00
Fenny
9bf2a618e9
Add toLower, toUpper & trimRight
2020-05-16 05:13:01 +02:00
Fenny
e0b13d9ca4
Update test & benchmark ( #374 )
...
Co-Authored-By: RW <renewerner87@googlemail.com>
* Add nosec for WriteByte
* test persistens for benchmark results
* Add tests & benchmark
* Update app_test.go
* Update benchmark.yml
2020-05-13 20:21:49 +02:00
Fenny
b8228e4546
Golint code
2020-05-12 23:24:04 +02:00
Fenny
e719fa00bf
Use param support + optimizations ( #361 )
...
* Benchmark workflow
* Update router.go
* Clean root
* Add mutex
* Benchmark workflow
* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing
Co-Authored-By: ReneWerner87 <renewerner87@users.noreply.github.com>
* Benchmark Workflow
* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing
Co-Authored-By: ReneWerner87 <renewerner87@users.noreply.github.com>
* Update security workflow
* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing
Co-Authored-By: ReneWerner87 <renewerner87@users.noreply.github.com>
* Make Ctx pool accessible
- Add ctx benchmarks
* v1.9.6
* v1.9.6
Co-Authored-By: ReneWerner87 <renewerner87@googlemail.com>
* Improve context functions
* Add utils benchmarks
* Update benchmarks & tests
* Add utils tests
* New tests
* update test
* Move fastpath tests
* offer negotiation
* Cleanup
* Update Vary
Co-Authored-By: RW <renewerner87@googlemail.com>
* Optimize Append
Co-Authored-By: RW <renewerner87@googlemail.com>
* Optimize more methods
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* Add param support to Use
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* Add use_params tests
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* v1.9.7
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* Tests
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
* v1.9.7
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
Co-Authored-By: József Sallai <jozsef@sallai.me>
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
* Update app_test.go
Co-Authored-By: RW <renewerner87@googlemail.com>
Co-Authored-By: Vic Shóstak <vikkyshostak@gmail.com>
Co-Authored-By: József Sallai <jozsef@sallai.me>
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
Co-Authored-By: Nifty255 <nifty255@users.noreply.github.com>
* Rename argument
Co-Authored-By: RW <renewerner87@googlemail.com>
* Add nosec for WriteByte
Co-Authored-By: RW <renewerner87@googlemail.com>
* Add media article
* Update media articles
* Fix typo
Co-Authored-By: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
* Fix typo
Co-authored-by: ReneWerner87 <renewerner87@users.noreply.github.com>
Co-authored-by: ReneWerner87 <renewerner87@googlemail.com>
Co-authored-by: Vic Shóstak <vikkyshostak@gmail.com>
Co-authored-by: József Sallai <jozsef@sallai.me>
Co-authored-by: Thomas van Vugt <thomasvvugt@users.noreply.github.com>
Co-authored-by: Nifty255 <nifty255@users.noreply.github.com>
2020-05-12 19:24:04 +02:00
Fenny
6e58bfcde3
Make ctx pool accessible + ctx benchmarks ( #355 )
...
**🚀 Fiber `v1.9.6`**
The Ctx pool is now accessible for third-party packages
🔥 New
- `func AcquireCtx(fctx *fasthttp.RequestCtx) *Ctx`
- `func ReleaseCtx(ctx *Ctx)`
🩹 Fixes
- Some `Ctx` methods didn't work correctly when called without an `*App` pointer.
- `ctx.Vary` sometimes added duplicates to the response header
🧹 Updates
- Add context benchmarks
- Remove some unnecessary functions from `utils`
🧬 Middleware
- [gofiber/adaptor](https://github.com/gofiber/adaptor ) `v0.0.1` Converter for net/http handlers to/from Fiber handlers
2020-05-11 04:30:31 +02:00
Fenny
e2cc8106bb
Benchmark workflow ( #351 )
...
* Benchmark workflow
* Add mutex
* Enable benchmark tests
* Enable race testing
Co-authored-by: ReneWerner87 <renewerner87@users.noreply.github.com>
2020-05-09 15:15:34 +02:00
Fenny
5594ba5fdc
Cleanup test files
2020-05-07 22:49:26 +02:00
Fenny
9f5a22af35
🤖 v1.9.5
2020-05-07 20:15:27 +02:00
Fenny
c6eb71434a
Cleanup
2020-05-07 18:16:20 +02:00
Fenny
572ad26816
Cleanup some things
2020-05-07 18:15:59 +02:00
Fenny
fb2e053b89
Use constants
2020-05-07 17:57:21 +02:00
Fenny
0cb6f0fdac
[][]*Route
2020-05-07 17:11:21 +02:00
Fenny
39d142ee09
New params parser
2020-05-06 15:59:40 +02:00
Fenny
3330dd81e4
Replace two value range loops
2020-04-29 00:15:52 +02:00