1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-05 22:53:41 +02:00
Commit Graph

1066 Commits

Author SHA1 Message Date
longXboy
6c70049d2f delete trace 2021-06-03 19:20:34 +08:00
longXboy
bf00542cb0 fix loggin middleware 2021-06-03 19:20:34 +08:00
longXboy
fd84ed4b52 fix spanid 2021-06-03 19:20:34 +08:00
longXboy
c2f077e7f1 add spanid valuer 2021-06-03 19:20:34 +08:00
longXboy
08d4db2c0c add default tracer valuer 2021-06-03 19:20:34 +08:00
longxboy
4860f42637
add ctx for logger (#998)
* add ctx for trace
2021-06-03 16:56:55 +08:00
Tony Chen
5ed0c006a0
clean access logging (#996) 2021-06-03 13:49:13 +08:00
longxboy
af14c07762
fix http util (#995)
* fix http util

* fix type
2021-06-02 23:36:47 +08:00
longxboy
5051609aef
add client closed (#993) 2021-06-02 22:58:43 +08:00
longxboy
7bef6cc7d4
add err gateway timeout (#992) 2021-06-02 21:34:38 +08:00
longxboy
bfc79d5ef0
Merge pull request #991 from go-kratos/feat/delete_grpc_recovery
delete grpc recovery
2021-06-01 22:41:27 +08:00
longXboy
f90e5874ef delete http recovery 2021-06-01 22:18:42 +08:00
longXboy
864008ea6b delete grpc recovery 2021-06-01 22:12:46 +08:00
Tony Chen
92b6bf54eb
add grpc interceptor option (#990) 2021-06-01 21:19:18 +08:00
Tony Chen
29e387a39c
add grpc interceptor option (#987) 2021-06-01 19:59:35 +08:00
Tony Chen
42b60381c9
transport: clean endpoint listen (#989)
* fix endpoint listen
2021-06-01 19:56:46 +08:00
包子
02f9ea49c7
add cmd specify the version or branch #977 (#986)
* add cmd specify the version or branch
2021-06-01 18:07:39 +08:00
Cluas
c547c61f89
json: uses proto field name instead of lowerCamelCase name (#985) 2021-06-01 17:18:33 +08:00
Tony Chen
bef6d8d818
transport/http: clean http client (#981)
* clean http client
2021-06-01 14:43:31 +08:00
Tony Chen
079f11fb50
add endpoint context (#979) 2021-06-01 12:02:22 +08:00
Tony Chen
f83438b693
http/health: remove health handler (#978)
* remove health handler & example
2021-06-01 11:26:27 +08:00
Michael Li
ad8f12c9fd
remove redundant statements in generated code template for protoc-gen-go-http (#976) 2021-06-01 00:21:56 +08:00
longxboy
930d1f6cf7
get req from ctx (#975)
Co-authored-by: longXboy <longxboy@gmail.com>
2021-05-31 22:17:47 +08:00
Richard
f51bd97324
chore: format import sort (#973)
Co-authored-by: quanlong <wangquanlong@joyme.sg>
2021-05-31 19:40:16 +08:00
longXboy
156146036b fix test 2021-05-31 17:17:33 +08:00
longXboy
f69cf59537 fix loopback addr 2021-05-31 16:55:30 +08:00
longxboy
e1d6377542
add feat endpoint (#972)
* add feature endpoint
2021-05-31 16:10:17 +08:00
longXboy
493373dc13 fix addr listen bug 2021-05-31 10:59:03 +08:00
longXboy
63191930ed fix server info bug 2021-05-30 21:43:41 +08:00
Tony Chen
149fc0195e
kratos: add application info (#968)
* add application info

* add base context

* add client target
2021-05-29 23:52:05 +08:00
Sycamor
7f835db398
chore: change nil slice to maked slice (#967)
Co-authored-by: Sycamor <zhangqiang@acnet.co>
2021-05-28 21:05:17 +08:00
Tony Chen
e7ddc1ba1e
Change the default func to public (#966) 2021-05-28 19:47:24 +08:00
Tony Chen
4cb3fd62e3
rename Registry to Endpointer (#964) 2021-05-28 15:30:55 +08:00
Tony Chen
41ea1fbc76
fix data race (#963)
* fix data race
2021-05-28 15:08:25 +08:00
Tony Chen
9b31e6293b
app: fix app ready (#961)
* fix app ready
2021-05-27 22:16:43 +08:00
longXboy
b32e7d6e70 fix swagger api 2021-05-27 21:19:47 +08:00
Windfarer
839aef1ae2
trace config (#956) 2021-05-27 19:18:14 +08:00
Shuhui Xu
ce04916181
transport/http: rename CodecForRequest func (#960)
Co-authored-by: 徐曙辉 <xushuhui@himango.cn>
2021-05-27 17:32:14 +08:00
longXboy
cc0214d78b mv balancer 2021-05-27 15:04:32 +08:00
longXboy
a24bcdff45 fix nacos 2021-05-27 14:34:33 +08:00
longXboy
c61cd27a5f fix go mod 2021-05-27 13:05:48 +08:00
Tony Chen
7dec80ccfd
fix error code and regenerate proto (#954)
* fix error code and regenerate proto
2021-05-26 20:05:34 +08:00
longXboy
637af7f4b0 change filename 2021-05-26 16:46:21 +08:00
longxboy
28abad2268
Feat/http resovler (#953)
* add http resolver & balancer

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-05-26 16:43:59 +08:00
longxboy
c1e5b1c17b
add protojson (#952) 2021-05-26 14:45:12 +08:00
longxboy
eb958b2093
add path for rpc stub (#947)
* add path for rpc stub

* fix http body and response_body

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-05-26 14:23:43 +08:00
Tony Chen
66412031fd
errors: refactor status code (#948)
* refactor status code
2021-05-25 15:01:53 +08:00
Tony Chen
cc0221b5ce
errors: add errors coder (#946)
* add errors coder

* rename internal http to httputil

* add errors proto
2021-05-25 00:56:31 +08:00
longxboy
9a3a02fc68
add http client rpc stub (#943)
* add http client
2021-05-24 23:01:26 +08:00
opensite
44c2641da2
example/blog: add the usage example of validate in proto file for blog (#942)
* example/blog: add the usage example of validate in proto file for blog

* example/blog: use validator middleware instead of calling validate in every method that needs to be validated
2021-05-23 13:03:10 +08:00