Fenny
b9deefbba1
Merge remote-tracking branch 'upstream/master'
2020-07-13 15:37:49 +02:00
Fenny
0361df3cab
🧹 Update description
2020-07-13 15:37:38 +02:00
fenny
96d5286e9d
Merge pull request #597 from kiyonlin/invalid-method
...
💫 short the invalid method check
2020-07-13 05:43:36 -04:00
kiyon
eb0bc94393
💫 short the invalid method check
2020-07-13 16:47:15 +08:00
kiyon
9d9cfa8424
🚨 extract func quoteString() for ctx.Attachment and ctx.Download
2020-07-13 12:37:50 +08:00
fenny
681b1bc685
Merge pull request #593 from kinbiko/docs-improvements
...
📚 Docs improvements
2020-07-12 16:10:19 -04:00
kiyon
de7a0357a6
🚀 Better performance for ctx.Attachment
2020-07-13 00:38:01 +08:00
Roger Guldbrandsen
c6ff695762
📚 Clean up ctx.go docs
...
- Use full sentences for context pool management methods.
- Full stop after each sentence (wherever I am confident of the intended meaning).
- Grammar fixes.
- Use single quote (') over fancy formatted apostrophe (’).
- Remove useless and incorrect comment on global variable
2020-07-13 01:35:17 +09:00
renanbastos93
4470d77295
📦 feat: method QueryParser in context
2020-07-11 14:38:21 -03:00
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