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

21 Commits

Author SHA1 Message Date
Tony Chen
7dec80ccfd
fix error code and regenerate proto (#954)
* fix error code and regenerate proto
2021-05-26 20:05:34 +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
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
ba5b8d1ee3
api/metadata: clean package (#926)
* clean api proto
* fix nil trace_id
2021-05-18 10:29:33 +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
longXboy
42313e9368 fix api proto import path 2021-05-11 16:18:52 +08:00
miya
f81f95cbbc
example/blog: enhance ctx (#887) 2021-04-29 22:06:13 +08:00
opensite
83eba7083a
examples/blog:update the trace to be consistent with the official (#888) 2021-04-29 22:06:01 +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
包子
b8d5d709e9
middleware/logging add traceid to the printed log,modify the example code and update the dependent version (#877)
* middleware/logging add traceid to the printed log,modify the example code and update the dependent version

* Fix the problem that the configuration could not use arrays
2021-04-28 14:30:51 +08:00
Tony Chen
3780f70c91
examples: update mod (#862)
* fix examples errors
2021-04-25 22:26:31 +08:00
Windfarer
fc539738f1
examples/blog: add cleanup (#845)
* add cleanup
2021-04-19 11:55:02 +08:00
伊文龙
46acad3400
Fix README file of the blog example. (#842) 2021-04-16 21:54:31 +08:00
另维64
089cf9d0cb
doc: update readme (#837) 2021-04-14 18:00:21 +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
Tony Chen
2eaeda0b17
remove unused (#786) 2021-03-18 10:57:05 +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