1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-23 02:04:14 +00:00

108 Commits

Author SHA1 Message Date
Fenny
9f05f79c2f 🔍 Update test case 2020-07-23 06:12:22 +02:00
Fenny
ff2e918b95 Replace fatal with panic 2020-07-23 06:09:09 +02:00
Fenny
c22e7890dd Merge branch 'master' of https://github.com/Fenny/fiber 2020-07-23 06:07:59 +02:00
Fenny
6fa6944631 📄 Add function comment 2020-07-23 06:07:50 +02:00
fenny
9fc96024fa
Merge branch 'master' into master 2020-07-23 06:06:54 +02:00
Fenny
0e7b9dacb1 🧬 Update filesystem readme 2020-07-23 06:06:12 +02:00
kiyon
43dd0c3b5d 🥅 use panic instead of log.Fatal 2020-07-22 10:50:02 +08:00
Fenny
939826881d ⏲ Optimize time zone support
Co-Authored-By: KallyDev <kallydev@gmail.com>
2020-07-21 17:47:51 +02:00
kallydev
8eaab1db86
🩹 Fix logger lacks default value of time zone 2020-07-21 16:28:45 +08:00
kallydev
1fa775fa29
📚 Update documentation related to logger time zone 2020-07-21 14:55:00 +08:00
kallydev
2628346da8
🚨 Add test cases related to logger time zone 2020-07-21 14:55:00 +08:00
kallydev
5e6170de48
🩹 Fix logger incorrectly parse the time zone in options 2020-07-21 14:54:50 +08:00
kallydev
a097820313
🔥 Add logger middleware time zone support 2020-07-21 13:07:15 +08:00
Fenny
890d9be23f 🎨 Fix colors for Windows 2020-07-19 13:18:52 +02:00
Fenny
7049137c21 🧪 Update logger test 2020-07-15 14:36:27 +02:00
Fenny
e5d76fa9d8 🧪 Update logger test 2020-07-15 14:20:58 +02:00
Fenny
3594f2ac79 🧪 Update logger test 2020-07-15 14:16:30 +02:00
Fenny
feadd16fc6 🎨 Format logger colors 2020-07-14 18:04:35 +02:00
Fenny
290a2978c0 🐛 Fix reset color in Logger 2020-07-14 17:06:00 +02:00
fenny
f50db73162
🖌 Add coloration in logger middleware
🖌 Add coloration in logger middleware
2020-07-14 10:59:58 -04:00
kiyon
e86c123e6f 🍤 improve request_id test coverage 2020-07-14 15:21:47 +08:00
yuil
81b121727a 🖌Configure color in logger format
Now, color can be configured in logger format as "${red}" and so on.
2020-07-12 02:16:11 +05:45
yuil
832f11f5c5 🖌Change coloration for success status code blue
Before it was green and not matching to Fiber's theme.😂
2020-07-12 00:37:24 +05:45
yuil
477a0bd784 Fix linting for 🖌 logger coloration 2020-07-12 00:20:11 +05:45
yuil
075a740217 🖌Color logger method and status
Coloration for response status code:
200 - 299 : green
300 - 399 : white
400 - 499 : yellow
500 - rest : red

Method coloration:
GET : blue
POST : cyan
PUT : yellow
DELETE : red
PATCH : green
HEAD : magenta
OPTIONS : white
DEFAULT : reset
2020-07-12 00:09:46 +05:45
Fenny
be63e46eb2 ✔️ Adjust test cases 2020-07-08 21:13:03 +02:00
kiyon
8e5cc731f0 📝 improve request_id mw test covered 2020-07-07 17:00:56 +08:00
kiyon
9849728135 📝 improve logger mw test covered 2020-07-07 17:00:51 +08:00
kiyon
1594e2e8f2 📝 improve favicon mw test covered 2020-07-07 17:00:35 +08:00
kiyon
76480a4deb 📝 improve compress mw test covered 2020-07-07 17:00:21 +08:00
Fenny
bab08d021b 🧬 Update description 2020-07-06 18:01:34 +02:00
Fenny
5250a33879 Add defaultvalue 2020-07-04 10:11:23 +02:00
Fenny
1129a85058 Update timeout.go
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-04 09:55:01 +02:00
Fenny
aed889e828 Update timeout.go
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-04 09:54:26 +02:00
Fenny
edbd51a197 Cleanup timeout
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-04 09:16:40 +02:00
Fenny
9d02c9dc80 Correct deprecation version
Co-Authored-By: kiyon <kiyonlin@163.com>
2020-07-04 09:09:31 +02:00
Fenny
be4cd8de1c Update compress_test.go 2020-07-04 08:43:56 +02:00
Fenny
5e797e9ef0 Update package names 2020-07-04 08:42:42 +02:00
Fenny
4dead8d6d3 Fix typo in RequestID 2020-07-04 08:39:45 +02:00
Fenny
08cfd1b1b9 Merge remote-tracking branch 'upstream/master' 2020-07-04 08:31:10 +02:00
Fenny
5e23557e08 Accept config in Compress 2020-07-04 08:30:18 +02:00
kiyon
a1fefd3f44 support config RequestIDConfig param in RequestID() 2020-07-04 10:52:18 +08:00
kiyon
0369495888 support config CompressConfig param in Compress() 2020-07-04 09:05:09 +08:00
Fenny
e702a862cd Fix timeout panic
Co-Authored-By: RW <renewerner87@googlemail.com>
2020-07-03 14:58:32 +02:00
Fenny
c134e1580c Update logger.md 2020-07-02 13:01:12 +02:00
Fenny
a5b8955990 Update logger.md 2020-07-02 12:57:59 +02:00
Fenny
babfe1567a Update logger.md 2020-07-02 12:17:37 +02:00
Fenny
49c295313c Update examples 2020-07-02 12:16:12 +02:00
Fenny
67fc45abd8 Update mw test 2020-07-02 11:58:28 +02:00
Fenny
c62f4e0ef8 Update internal middleware 2020-07-02 11:56:07 +02:00