1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-10 00:29:01 +02:00
Commit Graph

29 Commits

Author SHA1 Message Date
longXboy
26e94aa2ad add swagger api examples 2021-07-07 14:37:58 +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
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
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
00088f644a
examples: clean examples (#1036)
* clean examples

* update yaml to v3
2021-06-12 20:20:18 +08:00
包子
48851a1ffd
add examples/log/zap (#1001)
* add examples/zap/log
2021-06-03 22:08:42 +08:00
longXboy
a24bcdff45 fix nacos 2021-05-27 14:34:33 +08:00
longXboy
c61cd27a5f fix go mod 2021-05-27 13:05:48 +08:00
longxboy
9a3a02fc68
add http client rpc stub (#943)
* add http client
2021-05-24 23:01:26 +08:00
opensite
44c2641da2
example/blog: add the usage example of validate in proto file for blog (#942)
* example/blog: add the usage example of validate in proto file for blog

* example/blog: use validator middleware instead of calling validate in every method that needs to be validated
2021-05-23 13:03:10 +08:00
Cluas
eb732c4de0
internal/http: optimize support more content_type (#904)
* internal/http: optimize support more type

* internal/http: add bound case

* examples: fix go.sum

* examples: fix go mod
2021-05-11 10:21:59 +08:00
opensite
83eba7083a
examples/blog:update the trace to be consistent with the official (#888) 2021-04-29 22:06:01 +08:00
包子
b8d5d709e9
middleware/logging add traceid to the printed log,modify the example code and update the dependent version (#877)
* middleware/logging add traceid to the printed log,modify the example code and update the dependent version

* Fix the problem that the configuration could not use arrays
2021-04-28 14:30:51 +08:00
Tony Chen
3780f70c91
examples: update mod (#862)
* fix examples errors
2021-04-25 22:26:31 +08:00
miya
cb68659cff
ws demo (#853)
* examples/ws: ws demo
2021-04-22 11:03:56 +08:00
Tony Chen
e35fd9af6f
http/health: add health checker (#830)
* add health checker
2021-04-15 16:48:31 +08:00
miya
e1fe688e0c
examples/registry: nacos (#836) 2021-04-14 16:32:09 +08:00
Tony Chen
1afbf70184
examples: add http examples (#822)
* add http examples
2021-04-12 21:37:16 +08:00
Mikado
1b16831cf6
adjust trace middleware and fix blog's trace middleware use case (#791)
* middleware: adjust trace middleware

* examples: fix blog's trace middleware use case
2021-03-18 20:10:43 +08:00
Tony Chen
5a8acec808
examples: fix dir structure (#768)
* fix dir structure
2021-03-15 17:10:32 +08:00
Tony Chen
e335c1304a
examples: add etcd registry (#762)
* add etcd example
2021-03-12 00:59:46 +08:00
Windfarer
5546be9188
fix example (#755)
* fix example
2021-03-11 23:42:28 +08:00
Tony Chen
a4409adf16
fix interface defines (#760)
* fix interface defines
2021-03-11 23:26:07 +08:00
longxboy
f526d6b975
add exmaple consul registry (#754) 2021-03-09 22:02:18 +08:00
Tony Chen
98b5903113
examples (#748)
* move examples
2021-03-05 23:49:25 +08:00