longXboy
08d4db2c0c
add default tracer valuer
4 years ago
longxboy
4860f42637
add ctx for logger ( #998 )
...
* add ctx for trace
4 years ago
Tony Chen
5ed0c006a0
clean access logging ( #996 )
4 years ago
longxboy
af14c07762
fix http util ( #995 )
...
* fix http util
* fix type
4 years ago
longxboy
5051609aef
add client closed ( #993 )
4 years ago
longxboy
7bef6cc7d4
add err gateway timeout ( #992 )
4 years ago
longxboy
bfc79d5ef0
Merge pull request #991 from go-kratos/feat/delete_grpc_recovery
...
delete grpc recovery
4 years ago
longXboy
f90e5874ef
delete http recovery
4 years ago
longXboy
864008ea6b
delete grpc recovery
4 years ago
Tony Chen
92b6bf54eb
add grpc interceptor option ( #990 )
4 years ago
Tony Chen
29e387a39c
add grpc interceptor option ( #987 )
4 years ago
Tony Chen
42b60381c9
transport: clean endpoint listen ( #989 )
...
* fix endpoint listen
4 years ago
包子
02f9ea49c7
add cmd specify the version or branch #977 ( #986 )
...
* add cmd specify the version or branch
4 years ago
Cluas
c547c61f89
json: uses proto field name instead of lowerCamelCase name ( #985 )
4 years ago
Tony Chen
bef6d8d818
transport/http: clean http client ( #981 )
...
* clean http client
4 years ago
Tony Chen
079f11fb50
add endpoint context ( #979 )
4 years ago
Tony Chen
f83438b693
http/health: remove health handler ( #978 )
...
* remove health handler & example
4 years ago
Michael Li
ad8f12c9fd
remove redundant statements in generated code template for protoc-gen-go-http ( #976 )
4 years ago
longxboy
930d1f6cf7
get req from ctx ( #975 )
...
Co-authored-by: longXboy <longxboy@gmail.com>
4 years ago
Richard
f51bd97324
chore: format import sort ( #973 )
...
Co-authored-by: quanlong <wangquanlong@joyme.sg>
4 years ago
longXboy
156146036b
fix test
4 years ago
longXboy
f69cf59537
fix loopback addr
4 years ago
longxboy
e1d6377542
add feat endpoint ( #972 )
...
* add feature endpoint
4 years ago
longXboy
493373dc13
fix addr listen bug
4 years ago
longXboy
63191930ed
fix server info bug
4 years ago
Tony Chen
149fc0195e
kratos: add application info ( #968 )
...
* add application info
* add base context
* add client target
4 years ago
Sycamor
7f835db398
chore: change nil slice to maked slice ( #967 )
...
Co-authored-by: Sycamor <zhangqiang@acnet.co>
4 years ago
Tony Chen
e7ddc1ba1e
Change the default func to public ( #966 )
4 years ago
Tony Chen
4cb3fd62e3
rename Registry to Endpointer ( #964 )
4 years ago
Tony Chen
41ea1fbc76
fix data race ( #963 )
...
* fix data race
4 years ago
Tony Chen
9b31e6293b
app: fix app ready ( #961 )
...
* fix app ready
4 years ago
longXboy
b32e7d6e70
fix swagger api
4 years ago
Windfarer
839aef1ae2
trace config ( #956 )
4 years ago
Shuhui Xu
ce04916181
transport/http: rename CodecForRequest func ( #960 )
...
Co-authored-by: 徐曙辉 <xushuhui@himango.cn>
4 years ago
longXboy
cc0214d78b
mv balancer
4 years ago
longXboy
a24bcdff45
fix nacos
4 years ago
longXboy
c61cd27a5f
fix go mod
4 years ago
Tony Chen
7dec80ccfd
fix error code and regenerate proto ( #954 )
...
* fix error code and regenerate proto
4 years ago
longXboy
637af7f4b0
change filename
4 years ago
longxboy
28abad2268
Feat/http resovler ( #953 )
...
* add http resolver & balancer
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
longxboy
c1e5b1c17b
add protojson ( #952 )
4 years ago
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>
4 years ago
Tony Chen
66412031fd
errors: refactor status code ( #948 )
...
* refactor status code
4 years ago
Tony Chen
cc0221b5ce
errors: add errors coder ( #946 )
...
* add errors coder
* rename internal http to httputil
* add errors proto
4 years ago
longxboy
9a3a02fc68
add http client rpc stub ( #943 )
...
* add http client
4 years ago
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
4 years ago
Tony Chen
15d0f22fb7
fix handler options ( #941 )
4 years ago
包子
e2031dcfe6
remove example/traces/go.mod ( #940 )
...
modify dockerfile
modify the build process
4 years ago
Tony Chen
4d0770a6a2
fix http handler ( #939 )
4 years ago
Tony Chen
b9f821c29f
transport/http: add http handler ( #937 )
...
* add http handler
* fix request error
4 years ago