hoslo
19f008b483
feat: Add latency to the recover handler context ( #2653 )
...
* feat: Make recovey log information more abundant
* feat: Add latency to the recover handler context
* feat: Add latency to the recover handler context
* feat: Add latency to the recover handler context
---------
Co-authored-by: shuai_yang <shuai_yang@intsig.net>
2 years ago
LiuDui
08f37391e1
chore: clean up deprecated code ( #2648 )
2 years ago
darkweak
c9fbb27b5b
tests(coverage): Increase middleware tests coverage ( #2165 )
...
* tests(coverage): Increase tests coverage
* Lint fix
3 years ago
Tony Chen
dccee86141
log: remove component logger to use global logger ( #2061 )
...
* remove component logger to user global logger
3 years ago
realityone
0ed2e0f379
feat(log): add global logger appliance, as process level default logger ( #1761 )
...
* add global logger appliance, as process level default logger
* replace DefaultLogger as global logger
3 years ago
Evan
f9a132c9dd
feat: recovery logger with ctx ( #1601 )
...
Co-authored-by: 曾政 <zengz@weipaitang.com>
3 years ago
Tony Chen
6e6526efd9
fix: middleware uses sentinel error ( #1463 )
4 years ago
Windfarer
0ec3ff0b46
refactor: move plugins to contrib dir ( #1399 )
...
* move to contrib dir
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
Kagaya
f7588a47de
fix: ci lint error ( #1391 )
...
* fix lint check
* fix lll lint error
* fix build error
* fix gomnd
* fix shadow declaration
* add make test command
* update
4 years ago
包子
7b6332ee75
deps: middleware add separate go.mod and removes framework deps ( #1385 )
...
* deps: middleware add separate go.mod and removes framework deps
4 years ago
yuemoxi
12f17a3e2e
test(middleware/) add test ( #1379 )
...
* test(middleware/) add test
4 years ago
miya
b22bc26a02
middleware/tracing: add test ( #1083 )
4 years ago
miya
0f011ad688
add test recovery ( #1004 )
...
* add middle/validate test
* add middle/recovery test
4 years ago
Tony Chen
66412031fd
errors: refactor status code ( #948 )
...
* refactor status code
4 years ago
Tony Chen
cc0221b5ce
errors: add errors coder ( #946 )
...
* add errors coder
* rename internal http to httputil
* add errors proto
4 years ago
Tony Chen
d78eb3ee4b
log: add level printer ( #918 )
...
* add level printer
* fix helper args
* fix test
* Update README.md
4 years ago
Tony Chen
3780f70c91
examples: update mod ( #862 )
...
* fix examples errors
4 years ago
Tony Chen
9806191b7f
errors: Error v2 ( #860 )
...
* refactor api errors
4 years ago
Cluas
3636179347
fix: typo and avoid collides with log package name ( #819 )
4 years ago
Tony Chen
330d878aa3
http: fix request context ( #745 )
...
* fix request context
* fix recovery logger
4 years ago
chenzhihui
3566386a89
init v2
4 years ago