Commit Graph

64 Commits (2a4d440680cd018b06a0446bd64ba01f22e2f8a3)

Author SHA1 Message Date
yuemoxi 8823a1c618
feat:middleware selector add func match (#1329) 3 years ago
Tony Chen 1ac50be94c
fix: sra to aegis (#1420) 3 years ago
Kagaya de55281108
feat(middleware/ratelimit): add rate limiter middleware (#1271) 3 years ago
Kagaya 47f039792b
feat(middleware/breaker): add circuit breaker middleware (#1299) 3 years ago
Windfarer 0ec3ff0b46
refactor: move plugins to contrib dir (#1399) 3 years ago
Kagaya f7588a47de
fix: ci lint error (#1391) 3 years ago
包子 7b6332ee75
deps: middleware add separate go.mod and removes framework deps (#1385) 3 years ago
yuemoxi 12f17a3e2e
test(middleware/) add test (#1379) 3 years ago
Xudong Cai b44e47b087
refactor: optimize the code and use golangci-lint to check for any errors (#1298) 3 years ago
Xudong Cai 80378ca10d
fix: if not kratos context then panic will result (#1338) 3 years ago
月墨夕 86621a9573
test(internal/context,middleware) add test (#1326) 3 years ago
longxboy f65a0a9134
feat: enhance tracing (#1300) 3 years ago
zwhyb 6aba247990
add selector code annotation (#1275) 3 years ago
Tony Chen 623fc5cb3f
update version to v2.1.0-dev (#1249) 3 years ago
zwhyb 7977deac65
middleware/selector (#1244) 3 years ago
longxboy 545ffd1084
add response header (#1119) 3 years ago
opensite 01409cfb78
kratos/typs(trace): the world spelling corrects (#1116) 3 years ago
包子 4a6eb3e47f
Fix rename tracing.WithPropagators to tracing.WithPropagator (#1095) 3 years ago
miya b22bc26a02
middleware/tracing: add test (#1083) 3 years ago
Tony Chen 51a3a32502
middleware/metadata: add md test (#1064) 3 years ago
Tony Chen 6ee0607f03
transport: add transport kind (#1059) 3 years ago
longxboy 68e7f4854c
add range (#1052) 3 years ago
Tony Chen 8d8cd8c8a8
Middleware/metadata v2 (#1050) 3 years ago
Tony Chen 1b13abd136
transport/http: add http route (#1029) 3 years ago
longxboy 736385c8e6
Feat/uni transport (#1028) 3 years ago
miya c551448bbd
error.Code def support http , mw/log&metrics update (#1015) 3 years ago
miya 544e08f729
mw/log: http code 0 (#1010) 3 years ago
miya 0f011ad688
add test recovery (#1004) 3 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