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

21 Commits

Author SHA1 Message Date
Tony Chen
81f96ee74d
fix(http): fix error encoder ()
* fix error encoder
2021-07-03 15:22:13 +08:00
Tony Chen
d4d6925cd0
cmd/protoc-gen-go-http: fix http protoc to bind query_string ()
* fix http protoc to bind query_string

Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-30 14:13:28 +08:00
longxboy
736385c8e6
Feat/uni transport ()
* 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
50e3dea2ee
fix errors proto () 2021-06-09 10:48:29 +08:00
包子
0834128e57
add protoc-gen-errors ()
* add protoc-gen-errors

* fix protoc-gen-go-errors/go.mod

* default_code handling

* Modify code value range
2021-06-08 16:33:50 +08:00
miya
c551448bbd
error.Code def support http , mw/log&metrics update ()
* mw/metrics add tag
2021-06-08 11:28:02 +08:00
miya
544e08f729
mw/log: http code 0 ()
* fix middleware/log default code
2021-06-07 12:38:57 +08:00
longxboy
5051609aef
add client closed () 2021-06-02 22:58:43 +08:00
longxboy
7bef6cc7d4
add err gateway timeout () 2021-06-02 21:34:38 +08:00
Tony Chen
7dec80ccfd
fix error code and regenerate proto ()
* fix error code and regenerate proto
2021-05-26 20:05:34 +08:00
Tony Chen
66412031fd
errors: refactor status code ()
* refactor status code
2021-05-25 15:01:53 +08:00
Tony Chen
cc0221b5ce
errors: add errors coder ()
* add errors coder

* rename internal http to httputil

* add errors proto
2021-05-25 00:56:31 +08:00
opensite
83eba7083a
examples/blog:update the trace to be consistent with the official () 2021-04-29 22:06:01 +08:00
Tony Chen
6919f158cd
api/errors: fix parse error ()
* fix parse error
2021-04-29 10:56:53 +08:00
Tony Chen
7c6f53132f
api/errors: refactor to grpc statas ()
* refactor to grpc status
2021-04-28 23:09:27 +08:00
Tony Chen
e1c84ece84
refactor errors () 2021-04-26 16:17:04 +08:00
Tony Chen
3780f70c91
examples: update mod ()
* fix examples errors
2021-04-25 22:26:31 +08:00
Tony Chen
9806191b7f
errors: Error v2 ()
* refactor api errors
2021-04-25 20:19:23 +08:00
Tony Chen
f86c91849b
fix lint check () 2021-03-05 22:40:38 +08:00
Tony Chen
496edc6fb1
Http/refactor register service ()
* refactor http handle
2021-03-03 22:22:59 +08:00
chenzhihui
3566386a89 init v2 2021-02-17 17:14:47 +08:00