shifengbin
c407afc81d
fix: in case url or form bind param error should return BadRequest ( #2256 )
...
* fix: binding url or form convert type error should be return BadRequest
* golint
3 years ago
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
Tony Chen
0bcdb8d59c
fix(encoding/form): encode optional value ( #2155 )
...
* fix form encode optional value
* fix test
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
3 years ago
Tony Chen
a0e624c0b8
fix(binding): fix bind field mask ( #2112 )
...
* fix bind field mask
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
3 years ago
songzhibin97
5e0744a47b
Update encode.go ( #2019 )
3 years ago
张东龙
259cd84653
fix bind test errors ( #1950 )
...
* test(transport): fix assertion condition error
* test(transport): it need a unparsed request
3 years ago
Tony Chen
11a6120a2e
fix FieldMask are converted to/from lower-camel naming conventions. ( #1724 )
3 years ago
海雨
3da927759a
test: add transport http test ( #1579 )
...
* test: add transport http test
* fix lient
* add client
* add http test
3 years ago
longxboy
210e414e6f
fix: fix encode proto well known types in form and url query ( #1559 )
...
* fix encode proto well known types
3 years ago
seasrain
1dd8786ed9
fix:move test proto file to internal ( #1471 )
...
* fix:move test proto file to internal
3 years ago
Kagaya
f7588a47de
fix: ci lint error ( #1391 )
...
* fix lint check
* fix lll lint error
* fix build error
* fix gomnd
* fix shadow declaration
* add make test command
* update
4 years ago
wz
ce0cba4f41
fix(transport/http): typo ( #1268 )
...
Co-authored-by: 王真 <zhen.wang@yo-star.com>
4 years ago
王真
b04e214ec8
fix annotation
4 years ago
喵喵大人
d09ba5e3ee
style: add gosimple linter and gofmt linter ( #1242 )
4 years ago
longxboy
23a7f15541
add form for codec ( #1158 )
...
* add form for http codec
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
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
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
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
Cluas
8b875e43a5
binding: ignore unexpected field ( #879 )
4 years ago
Tony Chen
d92c1edc26
fix incorrect conversion between integer types ( #824 )
4 years ago
Tony Chen
496edc6fb1
Http/refactor register service ( #734 )
...
* refactor http handle
4 years ago