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
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 )
v2.0.2
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 38c9def445c97b4b06497dee944d030ea1bf3a53.
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
pokitpeng
ab45baf5ec
chore: add zookeeper registry example ( #1223 )
2021-07-21 12:54:13 +08:00
包子
41ad9061db
fix: fixed kratos "new" command #1218 ( #1221 )
...
* fix: fixed kratos "new" command
2021-07-21 10:02:28 +08:00
包子
5559923193
feat(cmd/changelog): add chore group ( #1217 )
2021-07-20 17:38:56 +08:00
longxboy
dba4b4007d
update WithDecoder comment
2021-07-20 16:09:57 +08:00
longxboy
a02d9b4192
add zero endpoint protection ( #1215 )
...
* add zero endpoint protection
2021-07-20 13:36:19 +08:00
Kuiba
44dd641f28
test config struct ( #1212 )
2021-07-20 09:55:18 +08:00
Richard
ff24e18a94
chore: optimize import sort and the short description of run cmd ( #1211 )
...
* chore: change lowercase to uppercase
* chore: optimize import
2021-07-19 22:18:36 +08:00
包子
c2e25ffd11
chore(typo): fixed document errors in README_ZH ( #1209 )
2021-07-19 10:01:44 +08:00
longXboy
f0d077a328
change version to 2.0.1
v2.0.1
2021-07-18 20:15:52 +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
拉小轰
5d07a94b16
use "and" replace "sub" ( #1207 )
2021-07-18 15:01:08 +08:00