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

881 Commits

Author SHA1 Message Date
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
Tony Chen
92b6bf54eb
add grpc interceptor option (#990) 2021-06-01 21:19:18 +08:00
Tony Chen
29e387a39c
add grpc interceptor option (#987) 2021-06-01 19:59:35 +08:00
Tony Chen
42b60381c9
transport: clean endpoint listen (#989)
* fix endpoint listen
2021-06-01 19:56:46 +08:00
包子
02f9ea49c7
add cmd specify the version or branch #977 (#986)
* add cmd specify the version or branch
2021-06-01 18:07:39 +08:00
Cluas
c547c61f89
json: uses proto field name instead of lowerCamelCase name (#985) 2021-06-01 17:18:33 +08:00
Tony Chen
bef6d8d818
transport/http: clean http client (#981)
* clean http client
2021-06-01 14:43:31 +08:00
Tony Chen
079f11fb50
add endpoint context (#979) 2021-06-01 12:02:22 +08:00
Tony Chen
f83438b693
http/health: remove health handler (#978)
* remove health handler & example
2021-06-01 11:26:27 +08:00
Michael Li
ad8f12c9fd
remove redundant statements in generated code template for protoc-gen-go-http (#976) 2021-06-01 00:21:56 +08:00
longxboy
930d1f6cf7
get req from ctx (#975)
Co-authored-by: longXboy <longxboy@gmail.com>
2021-05-31 22:17:47 +08:00
Richard
f51bd97324
chore: format import sort (#973)
Co-authored-by: quanlong <wangquanlong@joyme.sg>
2021-05-31 19:40:16 +08:00
longXboy
156146036b fix test 2021-05-31 17:17:33 +08:00
longXboy
f69cf59537 fix loopback addr 2021-05-31 16:55:30 +08:00
longxboy
e1d6377542
add feat endpoint (#972)
* add feature endpoint
2021-05-31 16:10:17 +08:00
longXboy
493373dc13 fix addr listen bug 2021-05-31 10:59:03 +08:00
longXboy
63191930ed fix server info bug 2021-05-30 21:43:41 +08:00
Tony Chen
149fc0195e
kratos: add application info (#968)
* add application info

* add base context

* add client target
2021-05-29 23:52:05 +08:00
Sycamor
7f835db398
chore: change nil slice to maked slice (#967)
Co-authored-by: Sycamor <zhangqiang@acnet.co>
2021-05-28 21:05:17 +08:00
Tony Chen
e7ddc1ba1e
Change the default func to public (#966) 2021-05-28 19:47:24 +08:00
Tony Chen
4cb3fd62e3
rename Registry to Endpointer (#964) 2021-05-28 15:30:55 +08:00
Tony Chen
41ea1fbc76
fix data race (#963)
* fix data race
2021-05-28 15:08:25 +08:00
Tony Chen
9b31e6293b
app: fix app ready (#961)
* fix app ready
2021-05-27 22:16:43 +08:00