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
Fenny
41b2b2c4d5
Add middleware readme
2020-07-02 08:51:35 +02:00
Fenny
1b8e174f47
Update logger
2020-07-02 08:51:27 +02:00
Fenny
24145dd3ef
Update compress.md
2020-07-02 07:03:52 +02:00
Fenny
dcd682ebb3
Update README.md
2020-07-02 07:03:48 +02:00
Fenny
2bf59ecadb
Create README.md
2020-07-02 07:00:54 +02:00
Fenny
14b6f732b8
Update filesystem.go
2020-07-02 06:37:12 +02:00
Fenny
591d660067
Update filesystem.go
2020-07-02 06:36:58 +02:00
Fenny
0a8af3886c
Update filesystem.go
2020-07-02 06:35:48 +02:00
Fenny
d8fffe675a
Add FileSystem middleware
2020-07-02 06:31:06 +02:00
kiyon
a39cba1a1c
fix wrong word
2020-07-02 07:51:23 +08:00
kiyon
f03b4380c8
Merge branch 'master' of https://github.com/gofiber/fiber
2020-07-02 07:50:50 +08:00
kiyon
566db0ae96
Set logger config default values
2020-07-02 07:50:34 +08:00
Fenny
0daee4c8c6
Default to 127.0.0.1 instead of 0.0.0.0
2020-07-01 10:48:52 +02:00
Fenny
563907cacb
Update examples
2020-07-01 10:44:15 +02:00