1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-19 21:18:07 +02:00

32 Commits

Author SHA1 Message Date
songzhibin97
8ff5f2fe88
fix:#1987 Http and grpc generate route alignment (#1988)
* fix:#1987

* fix:explicit naming

* Update template.go

* Update template.go
2022-05-19 22:40:36 +08:00
Nikita Krasnikov
ed144f6813
Fix buildMethodDesc for two and more message field (#1979) 2022-05-16 13:37:36 +08:00
yoogo
d5a2fb59ad
fix(cmd): protoc-gen-go-http use self release (#1909) 2022-04-03 00:55:38 +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
Sasha Melentyev
48d407cc9b
perf: add prealloc (#1846) 2022-02-27 12:29:51 +08:00
包子
cde962a6c1
fix(cmd/http): warn only when a get or delete request declares a body (#1789) 2022-02-18 08:59:27 +08:00
Giovanny Gutiérrez
b6b95089c4
fix(cmd/protoc-gen-go-http): Fix when replacement rule is not ending (#1721) 2021-12-28 15:41:38 +08:00
aldslvda
c1ab0cce3c
fix: fix typo in cmd/protoc-gen-go-http/http.go(is does not -> does not) (#1718) 2021-12-28 10:53:30 +08:00
Giovanny Gutiérrez
ccb649a201
fix(protoc-gen-go-http): Update http rule when path mappings (#1704)
* fix(cmd/protoc-gen-go-http): Follow the http rule to use the query string
2021-12-26 21:13:38 +08:00
包子
5aac2ef5a7
fix(cmd/http): fixed cannot declare a route with a regular expression (#1608)
* fix(cmd/http): fixed cannot declare a route with a regular expression
2021-11-05 16:44:57 +08:00
longxboy
2d026f1f95
fix: cmd http embed message path generate (#1561)
fix: cmd http embed message path generate (#1561)
2021-10-17 16:33:46 +08:00
包子
014778b72a
fix(cmd/proto-gen-http): fix the problem that the field declaration does not exist causing panic (#1553) 2021-10-15 17:18:13 +08:00
海雨
23a96a3d63
feat:add warning when http path filed use map or list (#1526)
* feat:add warning when http path filed use map or list
2021-09-30 14:12:27 +08:00
Casper-Mars
f5339e3ea3
fix(cmd/protoc-gen-go-http):part of #1430,fix cmd/protoc-gen-go-http (#1440) 2021-09-07 14:26:24 +08:00
包子
ff78611766
feat(cmd/pgh): add processing when generating HTTP code (#1306)
* feat: add processing when generating HTTP code
2021-08-09 10:28:20 +08:00
Tony Chen
f872ec4685
mod: clean cmd mod (#1240) 2021-07-25 00:29:09 +08:00
longxboy
7530fadde0
Feat/fix examples (#1129)
remove github protobuf dependency
2021-06-30 15:33:08 +08:00
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>
2021-06-30 14:13:28 +08:00
longxboy
e278a4cf36
fix protoc http cmd (#1079) 2021-06-18 11:49:25 +08:00
longxboy
dc80d0865f
add omitempty (#1054) 2021-06-14 11:43:22 +08:00
Tony Chen
8d8cd8c8a8
Middleware/metadata v2 (#1050)
* add middleware metadata
* add transport header
* add transport carrier

Co-authored-by: longXboy <longxboy@gmail.com>
2021-06-14 00:59:07 +08:00
Tony Chen
99719dd667
cmd: update cmd version (#1040)
* update cmd version

* update app info
2021-06-13 01:07:43 +08:00
Tony Chen
2729caeecf
http/binding: rename encode url (#1039)
* rename binding url
2021-06-13 00:56:01 +08:00
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
2021-06-12 22:21:54 +08:00
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>
2021-06-12 18:30:17 +08:00
longxboy
736385c8e6
Feat/uni transport (#1028)
* add metadata incoming&outgoing

* regenerate proto

* uni transport

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-11 15:05:57 +08:00
Tony Chen
05c2e16b9e
fix http rules empty (#1023) 2021-06-09 13:44:34 +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
longxboy
9a3a02fc68
add http client rpc stub (#943)
* add http client
2021-05-24 23:01:26 +08:00
Tony Chen
496edc6fb1
Http/refactor register service (#734)
* refactor http handle
2021-03-03 22:22:59 +08:00
Tony Chen
c7827ff701
fix http middleware (#710)
* fix http middleware
2021-02-18 16:53:59 +08:00
chenzhihui
3566386a89 init v2 2021-02-17 17:14:47 +08:00