1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-07 23:02:12 +02:00
Commit Graph

29 Commits

Author SHA1 Message Date
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
miya
c673439d96
resolver/discovery: fix endpoint, scheme don't match grpc (#831) 2021-04-14 11:37:20 +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
Tony Chen
db98d59b11
add default round_robin to grpc balancer (#790) 2021-03-18 16:03:19 +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
Tony Chen
a4409adf16
fix interface defines (#760)
* fix interface defines
2021-03-11 23:26:07 +08:00
longxboy
f526d6b975
add exmaple consul registry (#754) 2021-03-09 22:02:18 +08:00
libi
26cf7c80ad
fix discovery resolver watch goroutine leak (#750)
* fix discovery resolver watch goroutine leak
2021-03-06 18:06:20 +08:00
Tony Chen
8722894939
fix registry interface (#747) 2021-03-05 22:57:28 +08:00
Tony Chen
f86c91849b
fix lint check (#746) 2021-03-05 22:40:38 +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
邓小川
27dc0d45df
fix resolver (#740) 2021-03-05 19:15:19 +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
chenzhihui
b97c3c4160 fix registry option 2021-03-03 23:09:35 +08:00
Tony Chen
496edc6fb1
Http/refactor register service (#734)
* refactor http handle
2021-03-03 22:22:59 +08:00
longXboy
f984dc5c6d rename naming 2021-02-28 20:40:05 +08:00
longXboy
4444e7a638 fix to discoverer 2021-02-28 15:32:45 +08:00
longXboy
8f064855d9 split naming registry 2021-02-28 13:39:45 +08:00
Tony Chen
1fd1332c92
fix middleware errors (#717) 2021-02-23 14:38:37 +08:00
Tanghui Lin
ef996c826a
add context for registry (#716)
* add context for registry
2021-02-23 10:20:00 +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