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

1587 Commits

Author SHA1 Message Date
Kagaya
bf9f4886e9
ignore polaris test & add eureka consul test (#1998) 2022-05-19 22:26:46 +08:00
qi
c8c870b77f
fix: query params: parse list failed, unsupported message type: "google.protobuf.Struct" #1967 (#1989)
* feat: Support google.protobuf.Struct in query parameters.

* style: add a blank line in test proto file.
2022-05-17 22:58:28 +08:00
Nikita Krasnikov
ed144f6813
Fix buildMethodDesc for two and more message field (#1979) 2022-05-16 13:37:36 +08:00
witt
ddc82ce45e
fix: delete redundant type conversion (#1977) 2022-05-12 18:07:12 +08:00
Jinming Guo
bc9d2074af
fix: add 'go mod tidy' cmd to make quick-start available (#1973)
Signed-off-by: vgjm <vgjm456@qq.com>
2022-05-11 13:42:29 +08:00
Underworld511
36dfcdb0a6
Update README_zh.md (#1975) 2022-05-11 10:31:09 +08:00
包子
091ba2dae7
deps: upgrade kratos version to v2.2.2 (#1944) 2022-05-06 21:44:28 +08:00
Elric Li
eb2dcae83d
feat(log): Helper implemented io.Writer (#1927)
* feat(log): Add writerWrapper implementing io.Writer

* fix(kratos): fix format has wrong type

* fix(log): rename writerOption to WriterOptionFn.
2022-05-06 15:59:50 +08:00
JeffreyBool
245f55d3ba
feat: protoc-gen-go-errors add comment (#1961) 2022-05-05 10:13:09 +08:00
林晓炜
9098e9dd39
feat(registry): contrib/registry/zookeeper add digest acl support (#1964)
* feat(registry): contrib/registry/zookeeper add digest acl support

* feat(registry): use WithDigestACL to put user and password together
2022-04-29 15:49:30 +08:00
张东龙
60465ccca2
fix(transport/http): responseEncoder should not write any data when it need to write nil (#1945)
* fix(transport/http): responseEncoder should not write any data when it need to write nil

* test(transport/http): adjust the test of response encoder encode nil value

* fix(transport/http): remove content-type setting
2022-04-27 20:16:13 +08:00
haiyux
4e73384a9e
feat:new and add karge warehouse (#1953)
* feat:new and add karge warehouse
2022-04-27 20:12:44 +08:00
haiyux
73545347e8
fix: fix kratos run when cmd number is one (#1956) 2022-04-27 10:36:40 +08:00
haiyux
d4c4908ef6
fix: fix choose failed when paths cmd/server (#1954) 2022-04-26 21:06:30 +08:00
Casper-Mars
d4e1942480
fix(contrib/opensergo): fix index error (#1951) 2022-04-25 15:20:28 +08:00
张东龙
259cd84653
fix bind test errors (#1950)
* test(transport): fix assertion condition error

* test(transport): it need a unparsed request
2022-04-25 15:10:41 +08:00
李洛克
4472cdbf49
fix client do method done not use when err not nil (#1948) 2022-04-25 15:10:19 +08:00
Tony Chen
ae230eb550
feat: add opensergo metadata (#1947)
* add opensergo metadata
2022-04-25 14:58:48 +08:00
yeqown
fbf7855cf2
feat(discovery): provide an option to disable discovery debug log (#1942)
* feat(discovery): provide an option to disable discovery resolver one debug-like log

* styl: re-sort imports

* styl: rename option function name and comment
2022-04-22 20:06:29 +08:00
Tony Chen
d0b704b8f3
feat(selector): add node scheme (#1932)
* add node scheme
2022-04-14 13:48:20 +08:00
Windfarer
3990d91b9b
correct the func name in meatadata log (#1915) 2022-04-10 16:18:56 +08:00
Xudong Cai
9ca08888df
fix: error case2Camel (#1923) 2022-04-10 16:17:03 +08:00
Tony Chen
a72fc68ffd
feat: add error cause for statck trace (#1910)
* add error cause for statck trace
2022-04-10 16:15:34 +08:00
Casper-Mars
96cfbe6c22
feat: change description of Kratos (#1920)
* feat(README):change description of Kratos

* fix(cmd/protoc-gen-go-errors):fix lint problem (#1919)

use cases.Title instead of strings.Title
2022-04-10 16:15:20 +08:00
Casper-Mars
19637d9b87
feat(registry): consul client add DeregisterCriticalServiceAfter option (#1917)
* feat(registry/consul):add DeregisterCriticalServiceAfter option

* fix(cmd/protoc-gen-go-errors):fix lint problem (#1919)

use cases.Title instead of strings.Title
2022-04-10 16:14:33 +08:00
Casper-Mars
4f21094a56
fix(cmd/protoc-gen-go-errors):fix lint problem (#1919)
use cases.Title instead of strings.Title
2022-04-08 16:20:27 +08:00
yoogo
d5a2fb59ad
fix(cmd): protoc-gen-go-http use self release (#1909) 2022-04-03 00:55:38 +08:00
Tony Chen
fd2335ba38
add json codec for grpc (#1908) 2022-04-03 00:48:54 +08:00
包子
558ef4ebae
fix(transport): fix the problem that the context is not delivered correctly (#1906) 2022-04-01 10:52:32 +08:00
包子
99a0646acb
fix(log/aliyun): Improper Input Validation in GoGo Protobuf CVE-2021-3121 (#1902) 2022-03-30 10:09:30 +08:00
Cluas
13208d7908
fix(log): FilterFunc keyvals lost logger prefix (#1901) 2022-03-30 08:55:48 +08:00
Cluas
d4c0c57681
feat(log): log load config only when Debug level (#1899) 2022-03-29 16:39:31 +08:00
weetime
69df1ab9a6
feat(contrib): add eureka registry (#1792) (#1793)
* - feat(contrib): add eureka registry (#1792)


Co-authored-by: fangyong <fangyong@haodf.com>
2022-03-29 14:25:05 +08:00
Tony Chen
7a5c2207a1
fix: starter parent ctx (#1895)
* fix: starter parent ctx

* fix stop ctx
2022-03-18 23:05:29 +08:00
longxboy
e66a2905ab
feat: supprt non-kratos instance in consul registry (#1892) 2022-03-18 14:58:33 +08:00
包子
e98c0078cb
deps: upgrade kratos version to 2.2.1 (#1890) 2022-03-18 11:51:39 +08:00
包子
93b56d364d
fix: update semantic (#1891) 2022-03-18 11:43:26 +08:00
包子
de2d4eacda
fix(cmd): proto-gen-go-http warn only when ending with a slash (#1887) 2022-03-18 11:33:14 +08:00
Tony Chen
51fb0e0440
fix(log): call depth (#1885)
* fix log caller
2022-03-18 00:03:33 +08:00
letian
d373c51acf
fix: kratos command error on windows (#1884) 2022-03-17 16:58:33 +08:00
Tony Chen
c550a886e9
fix: decode empty body (#1882) 2022-03-17 10:04:48 +08:00
Sasha Melentyev
096e2b0d79
ci: Add 1.18 (#1880) 2022-03-16 20:40:24 +08:00
hoslo
f68702a8c2
fix: graceful shutdown (#1873) 2022-03-15 11:02:10 +08:00
包子
64bd619967
chore: remove examples (#1871) 2022-03-14 14:34:46 +08:00
包子
1c37eff18a
feat: add semantic.yml (#1876) 2022-03-14 11:44:39 +08:00
kwanhur
ac99a5c877
style(cmd/errors/examples/middleware/transport): fix common words' spelling mistakes (#1872)
* matchs to matches
* contraint to constraint
* resovle to resolver
* ser to set

Signed-off-by: kwanhur <huang_hua2012@163.com>
2022-03-10 22:42:44 +08:00
Chen Xinyuan
4387085047
fix: fix some typos (#1869) 2022-03-09 10:51:17 +08:00
kwanhur
79057d4326
chore(examples): optimize typos of swagger/server (#1862) 2022-03-07 13:20:55 +08:00
cui fliter
ed6ab7caf9
docs: fix some typos (#1852)
Signed-off-by: cuishuang <imcusg@gmail.com>
2022-03-01 22:14:59 +08:00
YuanXin Hu
e739f1d282
Example for Polaris (#1850)
* fix (registry/polaris): fix get unhealthy service

* fix (example/polaris): add polaris example
2022-03-01 19:58:24 +08:00