Ccheers
b3eff576ce
test(transport): add unit test for transport coverage: 91.7% of state… ( #2172 )
...
* test(transport): add unit test for transport coverage: 91.7% of statements
* lint & fix data race
* fix test
* fix lint
* fix lint
* remove http func wrapper
* remove error log when watcher context is canceled
* optimize code style
3 years ago
longxboy
91714bcd34
test: add transport grpc test ( #1580 )
...
* add transport grpc test
* fix node
3 years ago
longxboy
2e17f18d66
feat: change grpc gateway import path ( #1295 )
...
change grpc gateway import path to kratos project
4 years ago
longXboy
14d383bc6f
add v2.0.0
4 years ago
longXboy
26e94aa2ad
add swagger api examples
4 years ago
Tony Chen
d4d6925cd0
cmd/protoc-gen-go-http: fix http protoc to bind query_string ( #1126 )
...
* fix http protoc to bind query_string
Co-authored-by: longXboy <longxboyhi@gmail.com>
4 years ago
longxboy
8baa2ede4b
add path pattern for http ( #1076 )
...
* add path pattern for http
4 years ago
Tony Chen
8d8cd8c8a8
Middleware/metadata v2 ( #1050 )
...
* add middleware metadata
* add transport header
* add transport carrier
Co-authored-by: longXboy <longxboy@gmail.com>
4 years ago
Tony Chen
2729caeecf
http/binding: rename encode url ( #1039 )
...
* rename binding url
4 years ago
Tony Chen
eca0f35cb5
transport/http: add vars to http context ( #1037 )
...
* add vars to http context
* add query to http context
* remove http deps
* clean request decoder
4 years ago
Tony Chen
1b13abd136
transport/http: add http route ( #1029 )
...
* add http route
* fix http context
* add HTTP middleware
Co-authored-by: longXboy <longxboyhi@gmail.com>
4 years ago
longxboy
736385c8e6
Feat/uni transport ( #1028 )
...
* add metadata incoming&outgoing
* regenerate proto
* uni transport
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
Tony Chen
7dec80ccfd
fix error code and regenerate proto ( #954 )
...
* fix error code and regenerate proto
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
longxboy
9a3a02fc68
add http client rpc stub ( #943 )
...
* add http client
4 years ago
Tony Chen
b9f821c29f
transport/http: add http handler ( #937 )
...
* add http handler
* fix request error
4 years ago
Tony Chen
98b5903113
examples ( #748 )
...
* move examples
4 years ago