Germiniku
|
cb6176dbbb
|
feat(tracing) custom tracer name (#2310)
* feat(log): add tencent cls
fix
update
* refactor(log) use the same interface name
* fix(log) tencent toString
* feat(tracing) custom tracer name
|
2022-08-24 12:39:20 +08:00 |
|
darkweak
|
c9fbb27b5b
|
tests(coverage): Increase middleware tests coverage (#2165)
* tests(coverage): Increase tests coverage
* Lint fix
|
2022-07-08 19:53:21 +08:00 |
|
Tony Chen
|
dccee86141
|
log: remove component logger to use global logger (#2061)
* remove component logger to user global logger
|
2022-05-27 16:29:07 +08:00 |
|
songzhibin97
|
92ba6a3209
|
Style:trace (#2017)
* Update metadata.go
* Update span.go
* Update statsHandler.go
|
2022-05-21 16:25:13 +08:00 |
|
songzhibin97
|
9e66ac2f5b
|
Update jwt.go (#2016)
|
2022-05-21 16:24:21 +08:00 |
|
Tony Chen
|
a72fc68ffd
|
feat: add error cause for statck trace (#1910)
* add error cause for statck trace
|
2022-04-10 16:15:34 +08:00 |
|
kwanhur
|
ac99a5c877
|
style(cmd/errors/examples/middleware/transport): fix common words' spelling mistakes (#1872)
* matchs to matches
* contraint to constraint
* resovle to resolver
* ser to set
Signed-off-by: kwanhur <huang_hua2012@163.com>
|
2022-03-10 22:42:44 +08:00 |
|
Zhen Wang
|
4dadafff90
|
fix(jwt): parse server custom claims (#1817)
* fix(jwt): parse server custom claims
* fix(jwt): parse server custom claims & use factory pattern
Co-authored-by: 王真 <zhen.wang@yo-star.com>
|
2022-02-22 14:06:36 +08:00 |
|
Tony Chen
|
6ec695064b
|
move container group to internal (#1827)
|
2022-02-19 16:48:31 +08:00 |
|
haiyux
|
18315303f0
|
deps:upgrade go mod version (#1800)
* deps:upgrade go mod version
|
2022-01-28 14:56:32 +08:00 |
|
haiyux
|
00c05e82a3
|
test:remove testify go mod (#1766)
* test:remove testify go mod
* tidy go mdo
* fix test
|
2022-01-14 10:02:42 +08:00 |
|
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
|
2022-01-12 15:34:49 +08:00 |
|
Casper-Mars
|
76ab0baa56
|
feat(middleware/auth/jwt): add customer header (#1752)
|
2022-01-07 22:15:47 +08:00 |
|
haiyux
|
2e045c3e42
|
feat: middleware seletor add ctx match (#1652)
* feat: middleware seletor add headers match
* fix
* add some annotation
* add ctx seletor
* fix match function
* update match
|
2021-12-13 21:31:01 +08:00 |
|
china小宇
|
83ebf53b93
|
fix: circuitbreaker use client context (#1679)
|
2021-12-09 23:20:46 +08:00 |
|
spume
|
0f423be434
|
fix(middleware/tracing): modify kartos to kratos (#1628)
|
2021-11-12 23:12:00 +08:00 |
|
Evan
|
f9a132c9dd
|
feat: recovery logger with ctx (#1601)
Co-authored-by: 曾政 <zengz@weipaitang.com>
|
2021-11-04 19:40:34 +08:00 |
|
longxboy
|
056812e4b2
|
feat: add http transport interface (#1533)
feat: add http transport interface
|
2021-10-08 11:10:21 +08:00 |
|
Bear
|
5e88a20cd4
|
fix: 'tokenInfo' might have 'nil' or bad value (#1534)
* fix: 'tokenInfo' might have 'nil' or bad value
* fix: return the origin err
|
2021-10-06 13:06:31 +08:00 |
|
hotcha
|
7cc6565d01
|
fix typo (#1509)
|
2021-09-24 14:21:35 +08:00 |
|
Kagaya
|
04bc0e63ba
|
test(middleware/tracing): tracing unit test enhancement (#1484)
* use t.Setenv
* add tracing test
* lint fix
* update go test env to go@1.17
* remove grep
* rename Transport
|
2021-09-17 04:20:42 +08:00 |
|
Tony Chen
|
6e6526efd9
|
fix: middleware uses sentinel error (#1463)
|
2021-09-11 18:56:51 +08:00 |
|
Casper-Mars
|
ab5152dbe1
|
feat(middleware/auth): add auth middleware (#1274)
* add auth middleware
|
2021-09-10 10:49:18 +08:00 |
|
Tony Chen
|
b38c1145cf
|
fix(middleware/circuitbreaker): add breaker group (#1453)
* add breaker group
* update aegis to v0.1.1
|
2021-09-09 10:40:53 +08:00 |
|
yuemoxi
|
8823a1c618
|
feat:middleware selector add func match (#1329)
* feat:middleware selector add func match
|
2021-09-06 22:04:42 +08:00 |
|
Tony Chen
|
1ac50be94c
|
fix: sra to aegis (#1420)
* fix: sra to aegis
|
2021-09-05 22:42:38 +08:00 |
|
Kagaya
|
de55281108
|
feat(middleware/ratelimit): add rate limiter middleware (#1271)
* add ratelimit middleware
|
2021-09-05 21:32:36 +08:00 |
|
Kagaya
|
47f039792b
|
feat(middleware/breaker): add circuit breaker middleware (#1299)
* add breaker middleware
|
2021-09-05 21:15:06 +08:00 |
|
Windfarer
|
0ec3ff0b46
|
refactor: move plugins to contrib dir (#1399)
* move to contrib dir
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
|
2021-09-01 13:40:14 +08:00 |
|
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
|
2021-08-31 10:14:57 +08:00 |
|
包子
|
7b6332ee75
|
deps: middleware add separate go.mod and removes framework deps (#1385)
* deps: middleware add separate go.mod and removes framework deps
|
2021-08-30 23:07:31 +08:00 |
|
yuemoxi
|
12f17a3e2e
|
test(middleware/) add test (#1379)
* test(middleware/) add test
|
2021-08-28 00:00:27 +08:00 |
|
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
|
2021-08-16 10:35:08 +08:00 |
|
Xudong Cai
|
80378ca10d
|
fix: if not kratos context then panic will result (#1338)
* fix: if not kratos context panic
当ctx不是kratos的context,则app.Name()会导致panic
|
2021-08-15 17:02:59 +08:00 |
|
月墨夕
|
86621a9573
|
test(internal/context,middleware) add test (#1326)
* add: test
|
2021-08-13 14:11:08 +08:00 |
|
longxboy
|
f65a0a9134
|
feat: enhance tracing (#1300)
* feat: enhance tracing
* fix go lint
|
2021-08-05 18:51:20 +08:00 |
|
zwhyb
|
6aba247990
|
add selector code annotation (#1275)
|
2021-07-29 13:36:52 +08:00 |
|
Tony Chen
|
623fc5cb3f
|
update version to v2.1.0-dev (#1249)
* update version to v2.1.0-dev
* fix pkg ordering
* upgrade kratos version
|
2021-07-25 22:29:16 +08:00 |
|
zwhyb
|
7977deac65
|
middleware/selector (#1244)
* middleware selector client and support array
|
2021-07-25 21:58:40 +08:00 |
|
longxboy
|
545ffd1084
|
add response header (#1119)
* add response header
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
|
2021-06-29 15:33:18 +08:00 |
|
opensite
|
01409cfb78
|
kratos/typs(trace): the world spelling corrects (#1116)
|
2021-06-28 11:11:03 +08:00 |
|
包子
|
4a6eb3e47f
|
Fix rename tracing.WithPropagators to tracing.WithPropagator (#1095)
* Fix rename tracing.WithPropagators to tracing.WithPropagator
|
2021-06-22 22:39:55 +08:00 |
|
miya
|
b22bc26a02
|
middleware/tracing: add test (#1083)
|
2021-06-19 23:47:40 +08:00 |
|
Tony Chen
|
51a3a32502
|
middleware/metadata: add md test (#1064)
* add metadata test
|
2021-06-15 21:41:55 +08:00 |
|
Tony Chen
|
6ee0607f03
|
transport: add transport kind (#1059)
* add transport kind
|
2021-06-15 11:05:13 +08:00 |
|
longxboy
|
68e7f4854c
|
add range (#1052)
* add range
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
|
2021-06-14 11:07:46 +08:00 |
|
Tony Chen
|
8d8cd8c8a8
|
Middleware/metadata v2 (#1050)
* add middleware metadata
* add transport header
* add transport carrier
Co-authored-by: longXboy <longxboy@gmail.com>
|
2021-06-14 00:59:07 +08:00 |
|
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>
|
2021-06-12 18:30:17 +08:00 |
|
longxboy
|
736385c8e6
|
Feat/uni transport (#1028)
* add metadata incoming&outgoing
* regenerate proto
* uni transport
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
|
2021-06-11 15:05:57 +08:00 |
|
miya
|
c551448bbd
|
error.Code def support http , mw/log&metrics update (#1015)
* mw/metrics add tag
|
2021-06-08 11:28:02 +08:00 |
|