1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-14 02:33:03 +02:00
Commit Graph

26 Commits

Author SHA1 Message Date
Giovanny Gutiérrez
2209da5e24
feat(metadata): Ignore service if the dependencies are not found (#2171)
* feat(metadata): Ignore service if the dependencies are not found

* chore: Use errors.Is instead of equal operator
2022-07-10 01:26:45 +08:00
Guoqiang Ding
2f8703bff2
fix: allow the case of proto not found, such like gogo.proto (#2132)
Co-authored-by: Guoqiang Ding <guoqiang10@staff.sina.com.cn>
2022-06-26 00:24:30 +08:00
包子
3aaac45e3d
fix: regenerate the proto file (#2108)
* fix: regenerate the proto file

* fix

Co-authored-by: baozhecheng <>
2022-06-16 21:12:21 +08:00
songzhibin97
0bbd008397
Update server.go (#2021) 2022-05-22 10:01:45 +08:00
cui fliter
ed6ab7caf9
docs: fix some typos (#1852)
Signed-off-by: cuishuang <imcusg@gmail.com>
2022-03-01 22:14:59 +08:00
Eng Zer Jun
77b16286f8
refactor: move from io/ioutil to io and os packages (#1633)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-16 13:22:35 +08:00
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
2021-08-31 10:14:57 +08:00
longXboy
14d383bc6f add v2.0.0 2021-07-08 13:54: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
8baa2ede4b
add path pattern for http (#1076)
* add path pattern for http
2021-06-17 17:34:27 +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
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
longXboy
b32e7d6e70 fix swagger api 2021-05-27 21:19:47 +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
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
b9f821c29f
transport/http: add http handler (#937)
* add http handler

* fix request error
2021-05-21 23:11:36 +08:00
Tony Chen
ba5b8d1ee3
api/metadata: clean package (#926)
* clean api proto
* fix nil trace_id
2021-05-18 10:29:33 +08:00
longXboy
42313e9368 fix api proto import path 2021-05-11 16:18:52 +08:00
longXboy
d8edff0b84 fix api metadata 2021-05-11 16:06:07 +08:00
longxboy
0e0be64cba
add api metadata (#901)
* add api metadata
2021-05-10 10:44:39 +08:00
Tony Chen
f9522036da
api: update extension index (#775)
* update extension & regenerate proto
2021-03-17 00:00:30 +08:00
chenzhihui
3566386a89 init v2 2021-02-17 17:14:47 +08:00