1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-25 21:38:59 +02:00

8 Commits

Author SHA1 Message Date
Tony Chen
cc0221b5ce
errors: add errors coder ()
* 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 ()
* 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 () 2021-05-20 23:30:50 +08:00
Tony Chen
7c6f53132f
api/errors: refactor to grpc statas ()
* refactor to grpc status
2021-04-28 23:09:27 +08:00
Tony Chen
3780f70c91
examples: update mod ()
* fix examples errors
2021-04-25 22:26:31 +08:00
Mikado
1b16831cf6
adjust trace middleware and fix blog's trace middleware use case ()
* middleware: adjust trace middleware

* examples: fix blog's trace middleware use case
2021-03-18 20:10:43 +08:00
Windfarer
5546be9188
fix example ()
* fix example
2021-03-11 23:42:28 +08:00
Tony Chen
98b5903113
examples ()
* move examples
2021-03-05 23:49:25 +08:00