1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-22 03:38:41 +02:00

903 Commits

Author SHA1 Message Date
chenzhihui
0e6c53fda9 fix 2021-06-14 10:25:59 +08:00
chenzhihui
7340fecf27 fix 2021-06-14 10:14:23 +08:00
包子
34d6d7b90e add log filter benchmark 2021-06-14 07:50:44 +08:00
包子
7bebc58381 modify log caller 2021-06-14 01:47:48 +08:00
包子
38673521e4 clean log filter 2021-06-14 01:11:24 +08:00
包子
ecb0030d48 update log filter 2021-06-14 00:54:48 +08:00
包子
58c99b2768 clean log filter and update value caller 2021-06-14 00:35:39 +08:00
包子
582a24c0a6 add log filter 2021-06-14 00:14:32 +08:00
Tony Chen
7f2e3becbe
clean metrics (#1049)
* clean metrics

* remove recovery middleware
2021-06-13 15:38:33 +08:00
Tony Chen
8c26c8c328
examples: add cors example (#1048)
* add cors example
2021-06-13 15:21:29 +08:00
包子
c114f5c96b
fix proto-gen-go-errors bug (#1047) 2021-06-13 15:01:23 +08:00
包子
1d0c958a04
add examples/metrics (#1046)
* add examples/metrics
2021-06-13 14:49:28 +08:00
Tony Chen
40e34b32f1
clean examples (#1041)
* clean examples
2021-06-13 08:42:26 +08:00
Tony Chen
99719dd667
cmd: update cmd version (#1040)
* update cmd version

* update app info
2021-06-13 01:07:43 +08:00
Tony Chen
2729caeecf
http/binding: rename encode url (#1039)
* rename binding url
2021-06-13 00:56:01 +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
包子
67c1e4584b
modify cmd/proto-gen-go-errors (#1035)
* modify cmd/proto-gen-go-errors
2021-06-12 19:15:02 +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
4a257c1a34
Revert "add json test (#1031)" (#1033)
This reverts commit 6ca3c788ddb486fa9f0c2607501c8c78dcbf52a7.
2021-06-12 11:52:48 +08:00
Tony Chen
6ca3c788dd
add json test (#1031) 2021-06-12 11:19:43 +08:00
Tony Chen
828a7c5219
copy errors proto (#1030) v2.0.0-rc2 2021-06-11 17:49:29 +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
包子
5d1228a5d7
fix log caller (#1025) 2021-06-09 20:44:23 +08:00
Tony Chen
05c2e16b9e
fix http rules empty (#1023) 2021-06-09 13:44:34 +08:00
Tony Chen
d23a91650a
fix log print (#1021) 2021-06-09 11:14:44 +08:00
Tony Chen
50e3dea2ee
fix errors proto (#1020) 2021-06-09 10:48:29 +08:00
包子
996922fa87
Clean errors (#1019)
* cmd/upgrade add proto-gen-go-errors
modify proto-gen-go-errors template and go.mod

* modify proto-gen-go-errors version and clean code
2021-06-08 19:29:29 +08:00
包子
7585257f9e
modify proto-gen-go-errors version and func name (#1018)
* modify proto-gen-go-errors version and func name
2021-06-08 16:53:08 +08:00
包子
0834128e57
add protoc-gen-errors (#1017)
* add protoc-gen-errors

* fix protoc-gen-go-errors/go.mod

* default_code handling

* Modify code value range
2021-06-08 16:33:50 +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
Tony Chen
5cbda8ebd7
remove proto names (#1006) 2021-06-04 22:15:53 +08:00
Cluas
49064e7232
encoding: remove reflect on yaml and xml (#1005) 2021-06-04 16:35:55 +08:00
miya
0f011ad688
add test recovery (#1004)
* add middle/validate test

* add middle/recovery test
2021-06-04 12:38:54 +08:00
miya
97946ddcbd
add middle/validate test (#1002) 2021-06-03 22:51:40 +08:00
包子
48851a1ffd
add examples/log/zap (#1001)
* add examples/zap/log
2021-06-03 22:08:42 +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
longXboy
fd84ed4b52 fix spanid 2021-06-03 19:20:34 +08:00
longXboy
c2f077e7f1 add spanid valuer 2021-06-03 19:20:34 +08:00
longXboy
08d4db2c0c add default tracer valuer 2021-06-03 19:20:34 +08:00
longxboy
4860f42637
add ctx for logger (#998)
* add ctx for trace
2021-06-03 16:56:55 +08:00
Tony Chen
5ed0c006a0
clean access logging (#996) 2021-06-03 13:49:13 +08:00
longxboy
af14c07762
fix http util (#995)
* fix http util

* fix type
2021-06-02 23:36:47 +08:00
longxboy
5051609aef
add client closed (#993) 2021-06-02 22:58:43 +08:00
longxboy
7bef6cc7d4
add err gateway timeout (#992) 2021-06-02 21:34:38 +08:00
longxboy
bfc79d5ef0
Merge pull request #991 from go-kratos/feat/delete_grpc_recovery
delete grpc recovery
2021-06-01 22:41:27 +08:00
longXboy
f90e5874ef delete http recovery 2021-06-01 22:18:42 +08:00
longXboy
864008ea6b delete grpc recovery 2021-06-01 22:12:46 +08:00