1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-28 03:57:02 +02:00

1159 Commits

Author SHA1 Message Date
letian
894fc1a058
fix defer leak (#1477) 2021-09-15 18:06:21 +08:00
letian
2ce8f22fac
fix bug of host.Extract (#1481) 2021-09-15 18:02:26 +08:00
seasrain
24ec23f0e4
deps: remove x/net package (#1476) 2021-09-14 20:40:13 +08:00
包子
73bba905b4
typo(examples/blog): change ”make run“ to ”kratos run“ (#1474) 2021-09-14 19:32:59 +08:00
祈緒ちゃん - Kiochan
32c41f47d5
docs: fix typo (#1473) 2021-09-14 18:20:45 +08:00
seasrain
1dd8786ed9
fix:move test proto file to internal (#1471)
* fix:move test proto file to internal
2021-09-14 15:54:43 +08:00
letian
754d83ea9d
add test for HandleHeader (#1467) 2021-09-13 10:57:08 +08:00
Tony Chen
b92e8a9da8
deps: update otel to v1.0.0-rc3 (#1466)
* update otel to v1.0.0-rc3
2021-09-12 15:28:10 +08:00
longxboy
20f0a07d36
Feat: add load balancer (#1437)
* add balancer
* add p2c balancer
* add http client selector filter

Co-authored-by: yuemoxi <99347745@qq.com>
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-09-12 15:14:21 +08:00
Tony Chen
0184d217cf
fix(transport/grpc): default base ctx (#1465)
* fix grpc base ctx
2021-09-12 01:07:44 +08:00
seasrain
798adbff5e
fix:http rehister url lack / (#1464)
* fix: set strictSlash true
2021-09-12 00:45:22 +08:00
Tony Chen
6e6526efd9
fix: middleware uses sentinel error (#1463) 2021-09-11 18:56:51 +08:00
seasrain
558070f4d9
fix:edit the config's readmes (#1462) 2021-09-11 00:29:46 +08:00
Windfarer
1148bbd968
refactor(contrib/config): move etcd config (#1457)
* move etcd config

* add with prefix to options
2021-09-10 21:46:16 +08:00
seasrain
8b1086ad56
fix: optimizate with context (#1460)
* fix: optimizate with context
2021-09-10 21:44:41 +08:00
letian
4bdafa6393
feat: add http header handler (#1461) 2021-09-10 17:57:07 +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
aed6af7acc
fix http server handler (#1456) 2021-09-09 23:12:48 +08:00
Kagaya
736fb38e79
fix: examples lint error (#1454)
* fix example lint error

* use latest version lint

* ignore zap Sync error
2021-09-09 20:45:08 +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
Tony Chen
009cf68312
feat: add container group (#1452)
* add container group
2021-09-08 23:23:05 +08:00
pwli
378d1ee3c7
fix: enhance error.FromError (#1451)
add converting support for grpc status which not contain details with type `errdetails.ErrorInfo`
2021-09-08 21:56:35 +08:00
杜晨昊
2024fa7cdb
feat: zap log (#1424)
* zap log impl
2021-09-08 13:31:44 +08:00
yuemoxi
6ca81236b6
fix: Fix lint of files in cmd/kratos (#1442) 2021-09-07 15:46:22 +08:00
Casper-Mars
f5339e3ea3
fix(cmd/protoc-gen-go-http):part of #1430,fix cmd/protoc-gen-go-http (#1440) 2021-09-07 14:26:24 +08:00
Casper-Mars
73ce2941bd
fix(contrib/registry/etcd):part of #1430,fix contrib/registry/etcd (#1441) 2021-09-07 14:25:42 +08:00
Jack Lee
aa5743147c
docs: Use go install when install kratos instead of go get (#1438) 2021-09-07 13:37:40 +08:00
Casper-Mars
2a4d440680
fix(cmd/protoc-gen-go-errors):part of #1430,fix cmd/protoc-gen-go-errors (#1435) 2021-09-07 10:46:46 +08:00
cachalots
cd35233d1d
fix: add context for kubernetes registry, implement the registrar interface (#1436) 2021-09-07 10:46:07 +08:00
Kagaya
842be155a3
docs: update pull request template (#1434) 2021-09-07 10:02:13 +08:00
Casper-Mars
3f51a15949
Fix lint of files in ./contrib/log/fluent (#1432)
* fix(transport/http):fix nil problem

* fix(contrib/log/fluent):part of #1430,fix ./contrib/log/fluent
2021-09-06 22:50:16 +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
Kagaya
29a5327291
ci: submodule ci check (#1401)
* add tool scripts
2021-09-06 21:37:34 +08:00
包子
fd9d324906
fix(config/apollo): rename func NewSouceWithConfig (#1425) 2021-09-06 21:32:05 +08:00
longxboy
906a9ead4f
fix:reuse parent ctx cause unexpected stop of App (#1429)
* fix reuse parent ctx cause unexpected stop of App
2021-09-06 21:31:33 +08:00
letian
fa54a1dd3a
feat: Support custom status code conversion from HTTP and gRPC. (#1410)
* feat: Support custom status code conversion from HTTP and gRPC.

Co-authored-by: Letian Yi <yiletian@webull.com>
2021-09-05 23:25:33 +08:00
Tony Chen
1ac50be94c
fix: sra to aegis (#1420)
* fix: sra to aegis
2021-09-05 22:42:38 +08:00
包子
1517321dd8
chore(examples/event): add memory and rename Message to Event (#1282)
* chore(examples/event): add memory and rename Message to Event
2021-09-05 21:39:19 +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
杜晨昊
221fa98319
chore: fix metrics readme (#1415) 2021-09-03 17:52:22 +08:00
包子
7b3b1cf862
feat: move nacos config、datadog、 fluent to contrib and modify prom path (#1405)
* feat: move nacos config、datadog、 fluent to contrib and modify prometheus module path
2021-09-03 15:51:10 +08:00
塔塔开
a78f740bd5
fix change unit to seconds (#1408)
Co-authored-by: xuyong.zhang <xuyong.zhang@hiscene.com>
2021-09-02 15:20:36 +08:00
包子
8468cfdd45
feat: add apollo example and some problems of fix apollo config (#1411)
* feat: add apollo example and some problems of fix apollo config
2021-09-02 15:04:58 +08:00
Casper-Mars
515b71ec90
test(transport/http):fix nil problem (#1406) 2021-09-01 16:02:30 +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
f89e33d719
ci: adjust magic number check (#1402) 2021-09-01 12:59:16 +08:00
yuemoxi
a180043076
fix: update config readme (#1396)
* fix: updare config readme

* add appollo
2021-08-31 12:07:09 +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
yuemoxi
a1f35ecc05
fix:rename kube to kubernetes (#1393)
* fix:update config and registry readme

* rename kute to kubernetes

* fix

* fix
2021-08-31 10:13:34 +08:00