Commit Graph

39 Commits (0834128e57c7e6dad3c8e0908ac24ec7e18a979f)

Author SHA1 Message Date
miya c551448bbd
error.Code def support http , mw/log&metrics update (#1015) 4 years ago
miya 544e08f729
mw/log: http code 0 (#1010) 4 years ago
miya 0f011ad688
add test recovery (#1004) 4 years ago
miya 97946ddcbd
add middle/validate test (#1002) 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
longxboy 930d1f6cf7
get req from ctx (#975) 4 years ago
Tony Chen 66412031fd
errors: refactor status code (#948) 4 years ago
Tony Chen cc0221b5ce
errors: add errors coder (#946) 4 years ago
Tony Chen ef6e52d1ba
add multiple middlewares (#936) 4 years ago
dowenliu-xyz aab0d5aa43
fix tracing: call tracer.End() in closure. (#928) 4 years ago
Tony Chen ba5b8d1ee3
api/metadata: clean package (#926) 4 years ago
longxboy 8f8b861f7d
add default propagation for trace (#919) 4 years ago
Tony Chen d78eb3ee4b
log: add level printer (#918) 4 years ago
dowenliu-xyz 24b1ca6bc3
tracing: set tracing status after request. (#911) 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) 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) 4 years ago
Tony Chen 7c3212c306
transport/http: uses gRPC status to the HTTP error. (#870) 4 years ago
包子 b03c810dce
fix middleware/logging unable to print params (#868) 4 years ago
Tony Chen e1c84ece84
refactor errors (#863) 4 years ago
Tony Chen 3780f70c91
examples: update mod (#862) 4 years ago
Tony Chen 9806191b7f
errors: Error v2 (#860) 4 years ago
Cluas 3636179347
fix: typo and avoid collides with log package name (#819) 4 years ago
Mikado 1b16831cf6
adjust trace middleware and fix blog's trace middleware use case (#791) 4 years ago
Mikado dcd4131d10
middleware: trace middleware change to using OpenTelemetry (#781) 4 years ago
Tony Chen f86c91849b
fix lint check (#746) 4 years ago
Tony Chen 330d878aa3
http: fix request context (#745) 4 years ago
storyicon 0008794b80
display error messages (#727) 4 years ago
chenzhihui 1ee7e70939 add request params 4 years ago
realotz db2b8bcba0
repair tracing opentracing.HTTPHeadersCarrier panic (#714) 4 years ago
chenzhihui e25ebc73bc fix client context 4 years ago
chenzhihui 1de3a6607f add metrics options 4 years ago
Tony Chen 6907a9ee61
add metrics middleware (#711) 4 years ago
chenzhihui ad97e72c15 add validator middleware 4 years ago
chenzhihui 3566386a89 init v2 4 years ago