1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-27 21:49:08 +02:00

19 Commits

Author SHA1 Message Date
喵喵大人
d09ba5e3ee
style: add gosimple linter and gofmt linter (#1242) 2021-07-25 12:09:38 +08:00
longxboy
4e529d1e30
add router group for http server (#1208) 2021-07-18 20:12:20 +08:00
longXboy
078ca6bc9b add sub router for http 2021-07-18 19:30:39 +08:00
longXboy
2920c12ead add gin examples 2021-07-18 10:29:10 +08:00
miya
21a729bc3a
fix(examples/cors): method misuse (#1184) 2021-07-14 13:05:15 +08:00
Tt yo
567ff27eff
examples: add echo example (#1162)
* examples: add echo examples

* style: update code style.
2021-07-09 21:53:21 +08:00
Tony Chen
81f96ee74d
fix(http): fix error encoder (#1141)
* fix error encoder
2021-07-03 15:22:13 +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
8c26c8c328
examples: add cors example (#1048)
* add cors example
2021-06-13 15:21:29 +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
Tony Chen
f83438b693
http/health: remove health handler (#978)
* remove health handler & example
2021-06-01 11:26:27 +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
伊文龙
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
Tony Chen
e35fd9af6f
http/health: add health checker (#830)
* add health checker
2021-04-15 16:48:31 +08:00
Tony Chen
1afbf70184
examples: add http examples (#822)
* add http examples
2021-04-12 21:37:16 +08:00
Tony Chen
5a8acec808
examples: fix dir structure (#768)
* fix dir structure
2021-03-15 17:10:32 +08:00