1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-22 10:15:24 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
包子 7b6332ee75 deps: middleware add separate go.mod and removes framework deps (#1385)
* deps: middleware add separate go.mod and removes framework deps
2021-08-30 23:07:31 +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 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
opensite 44c2641da2 example/blog: add the usage example of validate in proto file for blog (#942)
* example/blog: add the usage example of validate in proto file for blog

* example/blog: use validator middleware instead of calling validate in every method that needs to be validated
2021-05-23 13:03:10 +08:00
Tony Chen ef6e52d1ba add multiple middlewares (#936) 2021-05-20 23:30:50 +08:00
Tony Chen 7c6f53132f api/errors: refactor to grpc statas (#880)
* refactor to grpc status
2021-04-28 23:09:27 +08:00
opensite 8dc92ef8b4 examples/blog:keep the grpc and http error consistent (#873) 2021-04-28 14:31:23 +08:00
Tony Chen 3780f70c91 examples: update mod (#862)
* fix examples errors
2021-04-25 22:26:31 +08:00
Mikado 1b16831cf6 adjust trace middleware and fix blog's trace middleware use case (#791)
* middleware: adjust trace middleware

* examples: fix blog's trace middleware use case
2021-03-18 20:10:43 +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