1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00
Commit Graph

96 Commits

Author SHA1 Message Date
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 1dab58616b.

* add http base ctx

Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-20 23:00:27 +08:00
包子 7b41acf241 add examples/errors (#1077)
* addd examples/errors
2021-06-17 17:57:23 +08:00
longxboy 8baa2ede4b add path pattern for http (#1076)
* add path pattern for http
2021-06-17 17:34:27 +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 7f2e3becbe clean metrics (#1049)
* clean metrics

* remove recovery middleware
2021-06-13 15:38:33 +08:00
Tony Chen 8c26c8c328 examples: add cors example (#1048)
* add cors example
2021-06-13 15:21:29 +08:00
包子 1d0c958a04 add examples/metrics (#1046)
* add examples/metrics
2021-06-13 14:49:28 +08:00
Tony Chen 40e34b32f1 clean examples (#1041)
* clean examples
2021-06-13 08:42:26 +08:00
Tony Chen 2729caeecf http/binding: rename encode url (#1039)
* rename binding url
2021-06-13 00:56:01 +08:00
Tony Chen eca0f35cb5 transport/http: add vars to http context (#1037)
* add vars to http context

* add query to http context

* remove http deps

* clean request decoder
2021-06-12 22:21:54 +08:00
Tony Chen 00088f644a examples: clean examples (#1036)
* clean examples

* update yaml to v3
2021-06-12 20:20:18 +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
Tony Chen d23a91650a fix log print (#1021) 2021-06-09 11:14:44 +08:00
包子 48851a1ffd add examples/log/zap (#1001)
* add examples/zap/log
2021-06-03 22:08:42 +08:00
Tony Chen 5ed0c006a0 clean access logging (#996) 2021-06-03 13:49:13 +08:00
Tony Chen bef6d8d818 transport/http: clean http client (#981)
* clean http client
2021-06-01 14:43:31 +08:00