1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-24 03:46:37 +02:00

28 Commits

Author SHA1 Message Date
longXboy
14d383bc6f add v2.0.0 2021-07-08 13:54:09 +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
包子
8d30b6d489
update examples (#1108)
* update examples/README.md and delete the middleware.Chain contained in examples

* update examples/README.md
2021-06-25 10:10:50 +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
00088f644a
examples: clean examples (#1036)
* clean examples

* update yaml to v3
2021-06-12 20:20:18 +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
d23a91650a
fix log print (#1021) 2021-06-09 11:14:44 +08:00
Tony Chen
5ed0c006a0
clean access logging (#996) 2021-06-03 13:49:13 +08:00
Tony Chen
bef6d8d818
transport/http: clean http client (#981)
* clean http client
2021-06-01 14:43:31 +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
28abad2268
Feat/http resovler (#953)
* add http resolver & balancer

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-05-26 16:43:59 +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
66412031fd
errors: refactor status code (#948)
* refactor status code
2021-05-25 15:01:53 +08:00
Tony Chen
cc0221b5ce
errors: add errors coder (#946)
* add errors coder

* rename internal http to httputil

* add errors proto
2021-05-25 00:56:31 +08:00
longxboy
9a3a02fc68
add http client rpc stub (#943)
* add http client
2021-05-24 23:01:26 +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
ef6e52d1ba
add multiple middlewares (#936) 2021-05-20 23:30:50 +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
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
3780f70c91
examples: update mod (#862)
* fix examples errors
2021-04-25 22:26:31 +08:00
伊文龙
2a47af33c0
Add README file for http & helloworld examples (#839)
* Add readme for helloworld example.

* Add readme file for http example.
2021-04-16 00:06:31 +08:00
Windfarer
5546be9188
fix example (#755)
* fix example
2021-03-11 23:42:28 +08:00
Tony Chen
98b5903113
examples (#748)
* move examples
2021-03-05 23:49:25 +08:00