1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-03 22:52:24 +02:00
Commit Graph

1066 Commits

Author SHA1 Message Date
包子
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) 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
Julian-Chu
c7fcd388b5
chore(examples/i18n): typo (#1250) 2021-07-26 09:04:17 +08:00
Tony Chen
623fc5cb3f
update version to v2.1.0-dev (#1249)
* update version to v2.1.0-dev

* fix pkg ordering

* upgrade kratos version
2021-07-25 22:29:16 +08:00
Windfarer
b6f92ed3d3
add codecov (#1195) 2021-07-25 22:11:56 +08:00
xianmian168
05c44d9033
repair some misspelling (#1248)
* Update calloption.go

* Update random.go

repair   misspelling
2021-07-25 22:05:14 +08:00
zwhyb
7977deac65
middleware/selector (#1244)
* middleware selector client and support array
2021-07-25 21:58:40 +08:00
Kagaya
3660a8d65d
fix(env): index out panic when env key is preifix (#1247) 2021-07-25 20:39:03 +08:00
喵喵大人
d09ba5e3ee
style: add gosimple linter and gofmt linter (#1242) 2021-07-25 12:09:38 +08:00
Tony Chen
f872ec4685
mod: clean cmd mod (#1240) 2021-07-25 00:29:09 +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
Tony Chen
cb7fc2d72a
Revert "replace env underscore to dot (#1229)" (#1235)
This reverts commit 38c9def445.
2021-07-24 00:30:58 +08:00
longxboy
dca963a236
fix http resovler bug (#1231)
* fix http resovler bug

* delete unused code
2021-07-23 22:42:52 +08:00
longxboy
38c9def445
replace env underscore to dot (#1229)
* replace env underscore to dot

* Compatible with dot format
2021-07-23 22:38:18 +08:00
zwhyb
d4ac341bc8
http get方法 url 参数带中括号 (#1226)
* fix url query array problem

* use TrimSuffix
2021-07-23 22:37:17 +08:00
徐胖
77d2cfb653
chore(config/env): minor refactor (#1232)
* chore(config/env): minor refactor
2021-07-23 22:30:28 +08:00
Yongzheng Lai
97222012e4
fix: using rv directly (#1213) 2021-07-23 09:22:39 +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
longxboy
e1228d454a
support expand config keys (#1224)
* support expand config keys

* fix bytes in convertMap
2021-07-21 23:09:34 +08:00
包子
1a0a1b8a89
fix(cmd/new): print exception to console (#1227)
* fix(cmd/new): print exception to console

* using git command to replace judgment text
2021-07-21 22:44:11 +08:00
Kuiba
0e70bddaa9
fix(config): load env and file source order bug (#1220)
* fix config load env & file order bug

* fix watch issue

* return empty as each update can be resolved
2021-07-21 15:58:43 +08:00