1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-01 13:07:48 +02:00

19 Commits

Author SHA1 Message Date
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
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
miya
c551448bbd
error.Code def support http , mw/log&metrics update (#1015)
* mw/metrics add tag
2021-06-08 11:28:02 +08:00
miya
544e08f729
mw/log: http code 0 (#1010)
* fix middleware/log default code
2021-06-07 12:38:57 +08:00
longXboy
6c70049d2f delete trace 2021-06-03 19:20:34 +08:00
longXboy
bf00542cb0 fix loggin middleware 2021-06-03 19:20:34 +08:00
Tony Chen
5ed0c006a0
clean access logging (#996) 2021-06-03 13:49:13 +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
miya
dc0f4ed9b8
mw/logging:enhance req.(fmt.Stringer) (#898) 2021-05-06 20:51:38 +08:00
Tony Chen
7c6f53132f
api/errors: refactor to grpc statas (#880)
* refactor to grpc status
2021-04-28 23:09:27 +08:00
包子
f33bd70d75
middleware/logging client add traceid (#878) 2021-04-28 16:23:55 +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
包子
b03c810dce
fix middleware/logging unable to print params (#868)
fix middleware/logging unable to print params
2021-04-27 15:44:35 +08:00
Tony Chen
3780f70c91
examples: update mod (#862)
* fix examples errors
2021-04-25 22:26:31 +08:00
Cluas
3636179347
fix: typo and avoid collides with log package name (#819) 2021-04-10 09:43:08 +08:00
chenzhihui
1ee7e70939 add request params 2021-02-21 17:35:10 +08:00
chenzhihui
3566386a89 init v2 2021-02-17 17:14:47 +08:00