1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-22 11:53:40 +00:00

141 Commits

Author SHA1 Message Date
fenny
89493f5565
Merge pull request #584 from ReneWerner87/improveAttachment
🚀 Better performance for ctx.Attachment
2020-07-11 11:55:30 -04:00
RW
1844cfd9f7
Merge branch 'master' into improve-json 2020-07-11 17:13:52 +02:00
ReneWerner87
9a238fbde8 🚀 Better performance for ctx.Attachment 2020-07-11 17:00:01 +02:00
Fenny
11b4ae3d5a 🚀 Improve JSON Response
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-11 12:58:51 +02:00
Fenny
c12a0372cf 🚀 Improve JSON response 2020-07-11 12:57:28 +02:00
kiyon
5175222c03 🚀 remove & to improve ctx.JSON(😭) 2020-07-11 16:35:52 +08:00
kiyon
a6e51e8a2b 🏁 remove extra '\n' added by encoder.Encode 2020-07-11 15:41:44 +08:00
kiyon
f49f1cbbc1 🚀 improve ctx.JSON 2020-07-11 10:06:35 +08:00
Fenny
f698b5d506 🐛 Escape fname 2020-07-10 22:25:10 +02:00
kiyon
e3b8bf578d 💡 add additional description about sendByte 2020-07-09 19:15:07 +08:00
kiyon
367dd7d33f 🚀 improve ctx.SendBytes performance 2020-07-09 13:20:31 +08:00
kiyon
7f5d7ec9bc 🚀 improve ctx.Send performance 2020-07-09 13:20:24 +08:00
fenny
6467e41889
Merge pull request #566 from Fenny/master
🔧 Don't reset headers on ErrorHandler
2020-07-08 15:15:22 -04:00
Fenny
d15d20ac0c 🔧 Don't reset headers on ErrorHandler 2020-07-08 21:04:03 +02:00
kiyon
9b14fc78d1 💡 add ctx.matched to determine if request matched a non USE route. 2020-07-08 22:40:44 +08:00
Fenny
964f3c59ae 🔨 Make Params available in Route 2020-07-05 11:17:42 +02:00
Ryan Swanson
104f4fcddf add ParamList to ctx 2020-07-04 13:47:54 -06:00
Fenny
29c47030fe Add default value support
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-07-04 10:29:13 +02:00
Fenny
5250a33879 Add defaultvalue 2020-07-04 10:11:23 +02:00
Fenny
418a7767a2 Update ctx.go
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-04 09:11:47 +02:00
Fenny
db4caba968 Micro optimization
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-04 08:55:13 +02:00
Fenny
cdf45da5b1 Update ctx.go 2020-07-03 19:35:40 +02:00
Fenny
592545ac46 Allow default values 2020-07-03 19:30:34 +02:00
Fenny
2ebadb4c38 Update ctx.go
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-07-03 14:02:00 +02:00
Fenny
34ac831143 Add json formatting 2020-07-02 20:26:38 +02:00
Fenny
1d4478bf00 🧹🧹 Cleanup 2020-07-02 13:51:10 +02:00
kiyon
3a6ae283b1 replace some ctx.Fasthttp.Response.xxx method with helper functions. 2020-07-01 14:32:38 +08:00
Fenny
909c683e12 Improve routing calculation 2020-06-30 00:27:28 +02:00
ReneWerner87
dcc2d8d046 🤔 Why refreshing single page in Browser could lost html document via sendfile method? #516
- fix this issue
2020-06-29 23:31:41 +02:00
ReneWerner87
d57651835b improve routing performance 2020-06-29 22:51:41 +02:00
ReneWerner87
cf4836c606 🚀 Added possibility to work with urlencoded special characters in the route 2020-06-25 08:44:29 +02:00
Fenny
5b37af25f8 Avoid panic on runtime 2020-06-20 14:17:50 +02:00
kiyon
bd4c250f41 remove the duplicate statement 2020-06-20 14:41:50 +08:00
Humaid AlQassimi
10dbb5417e
ctx: do not use normalized path 2020-06-19 01:25:25 +04:00
kiyon
a82da6bef7 Check index to avoid slice bounds out of range panic 2020-06-17 11:04:20 +08:00
Fenny
fd37fa95ba Update message 2020-06-12 12:49:58 +02:00
Fenny
f79fb58278 Add layout support in Render 2020-06-12 12:29:57 +02:00
Fenny
25100d3dbe fix gosec 2020-06-08 02:56:33 +02:00
Fenny
fbea5211d0 goreportcard fix 2020-06-08 02:55:19 +02:00
Fenny
bffd8b06b1 Add return e rror for sendfile 2020-06-08 02:45:48 +02:00
Fenny
fb2863ce9a Fix buffer reset 2020-06-07 22:34:29 +02:00
Fenny
d48583619a Add Render test 2020-06-07 22:23:10 +02:00
Fenny
d7dd49f01a Merge remote-tracking branch 'upstream/master' 2020-06-07 22:17:31 +02:00
Fenny
b4244de892 Update test 2020-06-07 22:17:10 +02:00
fenny
748935aace
Merge pull request #451 from otaku/master
🩹 fix ctx.Render when using Go Templates
2020-06-07 22:16:48 +02:00
wernerr
43d72225c4 organise startup message 2020-06-07 21:30:15 +02:00
Fenny
abbd18d815 Add CompressedFileSuffix 2020-06-07 20:35:41 +02:00
Alexander Do
6da47d4295
Utilize bytebufferpool for Render 2020-06-07 11:07:06 -07:00
Alexander Do
6e22a75e91
fix ctx.Render when using Go Templates 2020-06-07 10:40:35 -07:00
Fenny
22555c0806 Update 2020-06-07 10:13:50 +02:00