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

125 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
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
包子
fd9d324906
fix(config/apollo): rename func NewSouceWithConfig (#1425) 2021-09-06 21:32:05 +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
塔塔开
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
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
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