1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-11 13:38:46 +02:00

21 Commits

Author SHA1 Message Date
Tony Chen
0dbcaa2443
clean transport (#920) 2021-05-17 20:18:53 +08:00
Tony Chen
d78eb3ee4b
log: add level printer (#918)
* add level printer

* fix helper args

* fix test

* Update README.md
2021-05-17 16:34:28 +08:00
Tony Chen
7c6f53132f
api/errors: refactor to grpc statas (#880)
* refactor to grpc status
2021-04-28 23:09:27 +08:00
Cluas
8b875e43a5
binding: ignore unexpected field (#879) 2021-04-28 18:58:40 +08:00
Tony Chen
7c3212c306
transport/http: uses gRPC status to the HTTP error. (#870)
* uses gRPC status to the HTTP error.
2021-04-28 00:37:50 +08:00
Tony Chen
9806191b7f
errors: Error v2 (#860)
* refactor api errors
2021-04-25 20:19:23 +08:00
Tony Chen
e35fd9af6f
http/health: add health checker (#830)
* add health checker
2021-04-15 16:48:31 +08:00
Tony Chen
d92c1edc26
fix incorrect conversion between integer types (#824) 2021-04-12 23:43:10 +08:00
Cluas
3636179347
fix: typo and avoid collides with log package name (#819) 2021-04-10 09:43:08 +08:00
Mikado
4e2ae2077d
http: fix encodeError can't write response header (#782)
* http: fix encodeError can't write response header
* http: not handle Write error
2021-03-18 00:04:37 +08:00
storyicon
18752bf0ec
set transport.kind to be strongly typed (#728)
Signed-off-by: storyicon <storyicon@foxmail.com>
2021-03-05 21:09:02 +08:00
Tony Chen
330d878aa3
http: fix request context (#745)
* fix request context
* fix recovery logger
2021-03-05 19:13:31 +08:00
Tony Chen
946e9ca814
fix http decode (#742)
* fix http decoder
2021-03-05 18:52:39 +08:00
LI Tongyu
f8eeb9f388
fix(http): fix typo in transport/http (#741)
1. modify HanldePrefix to HandlePrefix in transport/http/server.go

Co-authored-by: 李彤宇 <litongyu@git.bilibili.co>
2021-03-05 16:21:23 +08:00
Tony Chen
496edc6fb1
Http/refactor register service (#734)
* refactor http handle
2021-03-03 22:22:59 +08:00
Tony Chen
1fd1332c92
fix middleware errors (#717) 2021-02-23 14:38:37 +08:00
chenzhihui
2a011cd288 add prefix handle to register other router 2021-02-20 19:12:09 +08:00
chenzhihui
01d93ec61a fix bind vars 2021-02-20 18:43:36 +08:00
Tony Chen
c7827ff701
fix http middleware (#710)
* fix http middleware
2021-02-18 16:53:59 +08:00
chenzhihui
4c67fa1235 fix http.Server closed 2021-02-17 22:54:41 +08:00
chenzhihui
3566386a89 init v2 2021-02-17 17:14:47 +08:00