Juan C. Yamacho H
d12498ed38
feat(middleware): redacter interface for logging ( #2564 )
2 years ago
jesse.tang
77d260241c
test(middleware/logging): TestExtractError ( #2443 )
2 years ago
jesse.tang
9737a3c5e4
fix: typo and grammatical errors ( #2368 )
...
* fix: grammar
* fix: grammar
* fix overrode
* translate to English
* translate to English
2 years ago
jesse.tang
f2a33929d0
fix: modify interface check way ( #2375 )
...
* fix: modify interface check way
* fix
2 years ago
darkweak
c9fbb27b5b
tests(coverage): Increase middleware tests coverage ( #2165 )
...
* tests(coverage): Increase tests coverage
* Lint fix
3 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
Xudong Cai
b44e47b087
refactor: optimize the code and use golangci-lint to check for any errors ( #1298 )
...
* feat: optimize the code and use golangci-lint to check for any errors
* fix: TestLogger unit test
4 years ago
longxboy
545ffd1084
add response header ( #1119 )
...
* add response header
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
Tony Chen
6ee0607f03
transport: add transport kind ( #1059 )
...
* add transport kind
4 years ago
Tony Chen
8d8cd8c8a8
Middleware/metadata v2 ( #1050 )
...
* add middleware metadata
* add transport header
* add transport carrier
Co-authored-by: longXboy <longxboy@gmail.com>
4 years ago
Tony Chen
1b13abd136
transport/http: add http route ( #1029 )
...
* add http route
* fix http context
* add HTTP middleware
Co-authored-by: longXboy <longxboyhi@gmail.com>
4 years ago
longxboy
736385c8e6
Feat/uni transport ( #1028 )
...
* add metadata incoming&outgoing
* regenerate proto
* uni transport
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
miya
c551448bbd
error.Code def support http , mw/log&metrics update ( #1015 )
...
* mw/metrics add tag
4 years ago
miya
544e08f729
mw/log: http code 0 ( #1010 )
...
* fix middleware/log default code
4 years ago
longXboy
6c70049d2f
delete trace
4 years ago
longXboy
bf00542cb0
fix loggin middleware
4 years ago
Tony Chen
5ed0c006a0
clean access logging ( #996 )
4 years ago
Tony Chen
ba5b8d1ee3
api/metadata: clean package ( #926 )
...
* clean api proto
* fix nil trace_id
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
miya
dc0f4ed9b8
mw/logging:enhance req.(fmt.Stringer) ( #898 )
4 years ago
Tony Chen
7c6f53132f
api/errors: refactor to grpc statas ( #880 )
...
* refactor to grpc status
4 years ago
包子
f33bd70d75
middleware/logging client add traceid ( #878 )
4 years ago
包子
b8d5d709e9
middleware/logging add traceid to the printed log,modify the example code and update the dependent version ( #877 )
...
* middleware/logging add traceid to the printed log,modify the example code and update the dependent version
* Fix the problem that the configuration could not use arrays
4 years ago
包子
b03c810dce
fix middleware/logging unable to print params ( #868 )
...
fix middleware/logging unable to print params
4 years ago
Tony Chen
3780f70c91
examples: update mod ( #862 )
...
* fix examples errors
4 years ago
Cluas
3636179347
fix: typo and avoid collides with log package name ( #819 )
4 years ago
chenzhihui
1ee7e70939
add request params
4 years ago
chenzhihui
3566386a89
init v2
4 years ago