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

1085 Commits

Author SHA1 Message Date
Xudong Cai b44e47b087 refactor: optimize the code and use golangci-lint to check for any errors (#1298)
* feat: optimize the code and use golangci-lint to check for any errors

* fix: TestLogger unit test
2021-08-16 10:35:08 +08:00
徐胖 3026f9490e chore(config/env): polish watcher (#1341)
* chore(config/env): polish watcher
2021-08-16 10:15:01 +08:00
Xudong Cai 80378ca10d fix: if not kratos context then panic will result (#1338)
* fix: if not kratos context panic

当ctx不是kratos的context,则app.Name()会导致panic
2021-08-15 17:02:59 +08:00
包子 3f68c9a9e0 fix(cmd/run): command execution directory error (#1336)
* fix(cmd/run): command execution directory error

* fix
2021-08-15 12:36:00 +08:00
yuemoxi c2b4d45cdf test(internal/) add test (#1333) 2021-08-14 14:40:36 +08:00
Giovanny Gutiérrez 9a6c03a9e5 fix(config): Support colon as default value in config.yaml (#1332) 2021-08-14 09:50:26 +08:00
yuemoxi 4b6ab21ae5 test(internal/) add test (#1331) 2021-08-14 00:52:00 +08:00
月墨夕 86621a9573 test(internal/context,middleware) add test (#1326)
* add: test
2021-08-13 14:11:08 +08:00
月墨夕 fdce5f0746 fix:config groutine(watch) leak (#1327)
* fix:config goroutine(watch) Leak
2021-08-13 14:09:53 +08:00
月墨夕 55cf83062f add: metadata test (#1324) 2021-08-12 19:34:58 +08:00
Windfarer a128566cef test(transport) add test (#1325)
* test

* test client and server

* return

* add args

* calloption

* test
2021-08-12 19:21:50 +08:00
longXboy ef6b347d6b change to v2.0.4 v2.0.4 2021-08-12 15:20:03 +08:00
haozibi 4e26fada3e chore: just fix readme_zh.md (#1323) 2021-08-12 14:30:16 +08:00
byteneco 39a36b49e1 append config watchers when watch source (#1320)
Co-authored-by: sukkids <ehekirahoshi@gmail.com>
2021-08-12 13:39:32 +08:00
月墨夕 6ae2e8712d fix:etcd<3.13 block question (#1317) 2021-08-11 18:51:00 +08:00
Windfarer 6d06721fc8 fix(config): fix data race (#1316)
* data race

* fix values

* lock
2021-08-11 07:59:58 +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
寻寻觅觅的Gopher 6e65616e31 fix(config): clean code (#1311) 2021-08-09 16:41:38 +08:00
包子 ff78611766 feat(cmd/pgh): add processing when generating HTTP code (#1306)
* feat: add processing when generating HTTP code
2021-08-09 10:28:20 +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
zwhyb 9c470b217a add appinfo test (#1293)
* add appinfo test
2021-08-03 19:07:09 +08:00
Windfarer f93084ba9f test: option tests (#1292)
* test options

* more tests
2021-08-02 18:56:22 +08:00
Yongzheng Lai b68265c365 fix: using t.TempDir (#1289) 2021-08-02 18:51:31 +08:00
zwhyb 5710bf0e30 fix endpoint panic (#1291) 2021-08-02 18:51:07 +08:00
Kagaya 05e14e2a18 ci: add pull request template (#1280) 2021-07-31 14:23:57 +08:00
zwhyb 6aba247990 add selector code annotation (#1275) 2021-07-29 13:36:52 +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
opensite a636fd52a4 feat(cmd): support the third party specify by self and fix the warning when third party is not in current directory (#1266)
* feat(cmd): support the third party specify by self and fix the warning when third party is not in current directory

* add env support and fix the directory of specify as full directory

* fix the env and flag variable name and rename the function name of the directory is exist check
2021-07-28 19:20:29 +08:00
zwhyb 352d6c8d66 Merge pull request #1269 from CryBecase/main
optimize Metadata init
2021-07-28 14:21:14 +08:00
wz 3279839221 Merge branch 'go-kratos:main' into main 2021-07-28 14:04:35 +08:00
王真 8f55924c47 optimize 2021-07-28 14:03:05 +08:00
王真 4f15df4caf remove useless judgment 2021-07-28 13:58:17 +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
wz ce0cba4f41 fix(transport/http): typo (#1268)
Co-authored-by: 王真 <zhen.wang@yo-star.com>
2021-07-28 13:05:58 +08:00
王真 b04e214ec8 fix annotation 2021-07-28 11:54:55 +08:00
Tony Chen e7d2f4966a upgrade kratos to v2.0.3 (#1264) 2021-07-27 15:59:34 +08:00
zwhyb 407250bf6c create watcher overtime (#1263) 2021-07-27 15:52:24 +08:00
Tony Chen b3594c25d3 update release version (#1262) v2.0.3 2021-07-27 15:47:27 +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
徐胖 025ae38acc fix(config/env): fix env.load() index out of range (#1252)
* fix(config/env): env.load() may panic
2021-07-26 20:08:48 +08:00
包子 9808ceb7a8 feat(cmd/upgrade): compatible with go get and go install (#1255)
* feat(cmd/upgrade): compatible with go get and go install
2021-07-26 11:43:13 +08:00