Commit Graph

71 Commits (056812e4b2654778b7cf44d9d421405c76708252)

Author SHA1 Message Date
longxboy 056812e4b2
feat: add http transport interface (#1533) 3 years ago
Bear 5e88a20cd4
fix: 'tokenInfo' might have 'nil' or bad value (#1534) 3 years ago
hotcha 7cc6565d01
fix typo (#1509) 3 years ago
Kagaya 04bc0e63ba
test(middleware/tracing): tracing unit test enhancement (#1484) 3 years ago
Tony Chen 6e6526efd9
fix: middleware uses sentinel error (#1463) 3 years ago
Casper-Mars ab5152dbe1
feat(middleware/auth): add auth middleware (#1274) 3 years ago
Tony Chen b38c1145cf
fix(middleware/circuitbreaker): add breaker group (#1453) 3 years ago
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) 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