1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-13 13:48:51 +02:00

48 Commits

Author SHA1 Message Date
Casper-Mars
ab5152dbe1
feat(middleware/auth): add auth middleware (#1274)
* add auth middleware
2021-09-10 10:49:18 +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
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
包子
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
包子
eaf0ceab0c
chore(registry): unified management of decentralized warehouses (#1368)
* chore(registry): unified management of decentralized warehouses
2021-08-24 11:35:26 +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
longxboy
f65a0a9134
feat: enhance tracing (#1300)
* feat: enhance tracing

* fix go lint
2021-08-05 18:51:20 +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
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
包子
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
2920c12ead add gin examples 2021-07-18 10:29:10 +08:00
longxboy
b2ba585b2e
upgrade consul (#1205) 2021-07-17 23:20:18 +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
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