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

112 Commits

Author SHA1 Message Date
Harvey Li
050b14c1e0
fix: correct client code in the example of TLS connection (#1355)
* Create ca.crt
2021-08-17 23:07:06 +08:00
月墨夕
6ae2e8712d
fix:etcd<3.13 block question (#1317) 2021-08-11 18:51:00 +08:00
月墨夕
9bbf4696d4
upgrade examples mod dependent version (#1314) 2021-08-10 12:34:31 +08:00
longxboy
a17eaeeff4
upgrade: grpc to 1.39 (#1312) 2021-08-09 22:10:37 +08:00
月墨夕
e5ae8dc3f1
fix: upgrade etcd version (#1302) 2021-08-06 11:17:17 +08:00
月墨夕
c1b9ace84e
feat: kratos tool support generate stream service code (#1284)
* kratos tool support generate stream service code
2021-08-06 11:11:45 +08:00
longxboy
f65a0a9134
feat: enhance tracing (#1300)
* feat: enhance tracing

* fix go lint
2021-08-05 18:51:20 +08:00
杜晨昊
2fa9168bde
fix example blog makefile (#1296) 2021-08-05 09:24:39 +08:00
longxboy
2e17f18d66
feat: change grpc gateway import path (#1295)
change grpc gateway import path to kratos project
2021-08-04 17:47:48 +08:00
Windfarer
f93084ba9f
test: option tests (#1292)
* test options

* more tests
2021-08-02 18:56:22 +08:00
Tony Chen
bc35f20228
feat(endpoint): add endpoint parser (#1273)
* feat(endpoint): add endpoint parser

* fix parseTarget ut

* fix insecure testing
2021-07-29 10:11:38 +08:00
zwhyb
8f4e78b47d
grpc‘s secure discovery (#1270)
* add gprc secure discovery

* add http insecure filter
2021-07-28 23:10:02 +08:00
Tony Chen
5ca42fe921
feat(transport): add transport tls config (#1267)
* add http tls config

* add grpc tls config

* add examples tls

* fix resolver parseTarget

* support https for discovery

* add isSecure
* clean code

Co-authored-by: longXboy <longxboyhi@gmail.com>
Co-authored-by: 包子 <baozhecheng@foxmail.com>
2021-07-28 13:36:15 +08:00
Tony Chen
97694b19ad
test: add registry tests (#1260)
* add registry tests

* add registrar timeout

Co-authored-by: 包子 <baozhecheng@foxmail.com>
2021-07-27 15:35:47 +08:00
longXboy
f5e90c90db fix go mod 2021-07-27 11:45:09 +08:00
longxboy
cdf95046fd
upgrade consul version (#1261) 2021-07-27 11:39:46 +08:00
Tony Chen
7773d15256
fix(grpc/resolver): fix builder context (#1258)
* fix grpc resovler ctx


* fix client close

* upgrade etcd to v3.5.0

* clean code
2021-07-26 23:44:41 +08:00
Julian-Chu
c7fcd388b5
chore(examples/i18n): typo (#1250) 2021-07-26 09:04:17 +08:00
喵喵大人
d09ba5e3ee
style: add gosimple linter and gofmt linter (#1242) 2021-07-25 12:09:38 +08:00
Tony Chen
77a39d3bb6
mod: upgrade uuid & form (#1239)
* mod: upgrade uuid & form

* add release version
2021-07-25 00:07:51 +08:00
包子
b6d005b21e
chore(examples/event): examples of increasing use of event (#1228)
* chore(examples/event): examples of increasing use of event
2021-07-22 18:03:19 +08:00
pokitpeng
ab45baf5ec
chore: add zookeeper registry example (#1223) 2021-07-21 12:54:13 +08:00
longxboy
4e529d1e30
add router group for http server (#1208) 2021-07-18 20:12:20 +08:00
longXboy
078ca6bc9b add sub router for http 2021-07-18 19:30:39 +08:00
longXboy
2920c12ead add gin examples 2021-07-18 10:29:10 +08:00
包子
5f678de2cc
fix(transport/http): fixed the problem of getting empty node list (#1206)
* fix(transport/http): fixed the problem of getting empty node list

* fix http blocking

Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-07-18 07:46:03 +08:00
longxboy
b2ba585b2e
upgrade consul (#1205) 2021-07-17 23:20:18 +08:00
pokitpeng
e8c9a361d3
fix(examples/config): fixed spelling mistake (#1186) 2021-07-14 16:03:16 +08:00
miya
21a729bc3a
fix(examples/cors): method misuse (#1184) 2021-07-14 13:05:15 +08:00
Windfarer
a7b1af764f
feat(examples/i18n) add i18n example (#1157)
* i18n example

* enable

* regenerate

* readme

* update doc

* go mod tidy

* update readme

* go mod tidy
2021-07-12 13:41:21 +08:00
Tt yo
567ff27eff
examples: add echo example (#1162)
* examples: add echo examples

* style: update code style.
2021-07-09 21:53:21 +08:00
包子
6e9ce7af22
chore(example/blog): add ent tracing, and print the original SQL (#1163) 2021-07-09 09:42:07 +08:00
longXboy
14d383bc6f add v2.0.0 2021-07-08 13:54:09 +08:00
longxboy
23a7f15541
add form for codec (#1158)
* add form for http codec
2021-07-08 13:05:21 +08:00
longXboy
26e94aa2ad add swagger api examples 2021-07-07 14:37:58 +08:00
Tony Chen
81f96ee74d
fix(http): fix error encoder (#1141)
* fix error encoder
2021-07-03 15:22:13 +08:00
youn
c268f98404
add form encoding (#1138)
* add form encoding

* update examples go mod
2021-07-01 20:36:12 +08:00
包子
bdb51d2696
feat(examples): add benchmark example (#1134)
* feat(examples): add benchmark example

* fix examples/benchmark/test.sh

* fix: remove go.mod from examples / benchmark
2021-07-01 09:49:35 +08:00
longxboy
798b0e6e7d
upgrade otel to v1 rc1 (#1132) 2021-06-30 19:25:08 +08:00
longxboy
7530fadde0
Feat/fix examples (#1129)
remove github protobuf dependency
2021-06-30 15:33:08 +08:00
Tony Chen
d4d6925cd0
cmd/protoc-gen-go-http: fix http protoc to bind query_string (#1126)
* fix http protoc to bind query_string

Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-30 14:13:28 +08:00
Kuiba
09be032575
Add logrus example (#1124)
* add logrus logger example

Co-authored-by: Lining Guan <lining.guan@grabtaxi.com>
2021-06-29 19:53:55 +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
包子
493c11929f
fix(examples): rename config to cfg in blog (#1122) 2021-06-29 14:57:15 +08:00
包子
725d60134c
examples: add examples/middleware (#1121)
* examples: add examples/middleware

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-28 23:50:30 +08:00
包子
8d30b6d489
update examples (#1108)
* update examples/README.md and delete the middleware.Chain contained in examples

* update examples/README.md
2021-06-25 10:10:50 +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
opensite
4236b40c94
feat(cmd): support the validate pb file generate for kratos proto client command (#1094)
kratos client 命令 增加 validate pb 文件生成

Co-authored-by: lishuangxi <lishuangxi@bjx.cloud>
2021-06-22 20:33:00 +08:00
包子
6dc8300ee8
add examples/validate (#1093) 2021-06-22 10:21:39 +08:00
Tony Chen
59f54b2661
Revert/root ctx v2 (#1088)
* Revert "remove app info (#1081)"

This reverts commit 1dab58616b5bfee9bb78abe192d45f44c2f53c43.

* add http base ctx

Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-20 23:00:27 +08:00