yangjianfeng9527
f050b07432
fixed the problem that grpc stop could not close properly
...
Co-authored-by: coco <>
2022-01-19 18:36:46 +08:00
haiyux
89583885e4
feat:add stream interceptor use ctx encapsulation ( #1770 )
...
* feat:add stream interceptor use ctx encapsulation
* add reply header
2022-01-17 19:58:27 +08:00
haiyux
00c05e82a3
test:remove testify go mod ( #1766 )
...
* test:remove testify go mod
* tidy go mdo
* fix test
2022-01-14 10:02:42 +08:00
MARATRIX Li
c6c5e4595c
optimization: optimize global logger ( #1763 )
2022-01-13 10:11:23 +08:00
realityone
0ed2e0f379
feat(log): add global logger appliance, as process level default logger ( #1761 )
...
* add global logger appliance, as process level default logger
* replace DefaultLogger as global logger
2022-01-12 15:34:49 +08:00
haiyux
da70e22201
upgrade:upgrade grpc and opentelemetry version ( #1751 )
...
* upgrade:upgrade grpc and opentelemetry version
* upgrade jaeger
* fix lint
2022-01-06 20:29:18 +08:00
haiyux
7f003a8742
test(transport): add transport Listener test ( #1735 )
...
* test(tansport): add transport Listener test
2021-12-31 11:15:39 +08:00
haiyux
3625634d3c
feat(transport):add grpc and http with listen ( #1729 )
...
* feat(transport):add grpc and http with listen
2021-12-30 20:38:22 +08:00
Jason Song
b421389227
fix: remove the use of client timeout as discovery time ( #1715 )
2021-12-29 20:33:16 +08:00
包子
5aeb14d381
feat(transport/grpc): gRPC client discovery supports incoming logger and timeout ( #1702 )
2021-12-22 09:08:46 +08:00
Giovanny Gutiérrez
2471f1d955
fix(grpc): Block the RCP unil a new picker is available ( #1660 )
...
* fix(config): Support colon as default value in config.yaml
* fix(cmd/protoc-gen-go-http): Follow the http rule to use the query string
* fix: Block the RPC until new picker is available
* fix: lints for balancer
2021-12-03 17:21:56 +08:00
longxboy
98fd40bcb4
revert to select filters ( #1656 )
2021-11-29 10:55:11 +08:00
haiyux
27cfec93d6
optimize:chan bool to chan struct{} ( #1648 )
2021-11-24 17:21:01 +08:00
haiyux
3607ce1b92
feat: upgrade grpc version to 1.42.0 ( #1626 )
2021-11-18 00:38:31 +08:00
longxboy
988c2312b4
feat: add base fitler to improve performace ( #1612 )
...
* add node filter
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-11-08 15:22:04 +08:00
longxboy
cd79c2a458
feat: add raw node ( #1611 )
...
* add raw node to improve performace
2021-11-05 16:43:40 +08:00
longxboy
91714bcd34
test: add transport grpc test ( #1580 )
...
* add transport grpc test
* fix node
2021-10-22 15:57:01 +08:00
longxboy
ae57ae9bde
test : add selector & balancer test ( #1577 )
...
* add selector test
* add balancer test
* add node and selector
* add ewma test
* fix datarace
* fix datarace
2021-10-22 09:25:58 +08:00
longxboy
86dec76aa3
fix global selector bug ( #1564 )
2021-10-18 19:26:00 +08:00
longxboy
feeec630d7
feat: add selector and filters examples ( #1485 )
...
* add selector examples and filters
2021-09-23 17:42:21 +08:00
seasrain
55e00ce9f3
fix:server start panic when use Endpoint ( #1491 )
...
* fix:server start panic when use Endpoint
* fix test
* fix lint
2021-09-17 10:13:50 +08:00
letian
db2122860d
add endpoint option in grpc server ( #1488 )
2021-09-17 04:19:49 +08:00
longxboy
20f0a07d36
Feat: add load balancer ( #1437 )
...
* add balancer
* add p2c balancer
* add http client selector filter
Co-authored-by: yuemoxi <99347745@qq.com>
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-09-12 15:14:21 +08:00
Tony Chen
0184d217cf
fix(transport/grpc): default base ctx ( #1465 )
...
* fix grpc base ctx
2021-09-12 01:07:44 +08:00
Kagaya
f7588a47de
fix: ci lint error ( #1391 )
...
* fix lint check
* fix lll lint error
* fix build error
* fix gomnd
* fix shadow declaration
* add make test command
* update
2021-08-31 10:14:57 +08:00
Xudong Cai
b44e47b087
refactor: optimize the code and use golangci-lint to check for any errors ( #1298 )
...
* feat: optimize the code and use golangci-lint to check for any errors
* fix: TestLogger unit test
2021-08-16 10:35:08 +08:00
Windfarer
a128566cef
test(transport) add test ( #1325 )
...
* test
* test client and server
* return
* add args
* calloption
* test
2021-08-12 19:21:50 +08:00
Windfarer
f93084ba9f
test: option tests ( #1292 )
...
* test options
* more tests
2021-08-02 18:56:22 +08:00
Tony Chen
bc35f20228
feat(endpoint): add endpoint parser ( #1273 )
...
* feat(endpoint): add endpoint parser
* fix parseTarget ut
* fix insecure testing
2021-07-29 10:11:38 +08:00
zwhyb
8f4e78b47d
grpc‘s secure discovery ( #1270 )
...
* add gprc secure discovery
* add http insecure filter
2021-07-28 23:10:02 +08:00
Tony Chen
5ca42fe921
feat(transport): add transport tls config ( #1267 )
...
* add http tls config
* add grpc tls config
* add examples tls
* fix resolver parseTarget
* support https for discovery
* add isSecure
* clean code
Co-authored-by: longXboy <longxboyhi@gmail.com>
Co-authored-by: 包子 <baozhecheng@foxmail.com>
2021-07-28 13:36:15 +08:00
zwhyb
407250bf6c
create watcher overtime ( #1263 )
2021-07-27 15:52:24 +08:00
Tony Chen
7773d15256
fix(grpc/resolver): fix builder context ( #1258 )
...
* fix grpc resovler ctx
* fix client close
* upgrade etcd to v3.5.0
* clean code
2021-07-26 23:44:41 +08:00
longxboy
a02d9b4192
add zero endpoint protection ( #1215 )
...
* add zero endpoint protection
2021-07-20 13:36:19 +08:00
喵喵大人
4780b6e1fd
ci(github action): use golangci-lint to replace the deprecated golint ( #1175 )
...
* ci: use golangci-lint to replace the deprecated golint
Co-authored-by: ymh199478 <yumenghan@bilibili.com>
2021-07-12 18:09:38 +08:00
longxboy
545ffd1084
add response header ( #1119 )
...
* add response header
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-29 15:33:18 +08:00
Tony Chen
59f54b2661
Revert/root ctx v2 ( #1088 )
...
* Revert "remove app info (#1081 )"
This reverts commit 1dab58616b5bfee9bb78abe192d45f44c2f53c43.
* add http base ctx
Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-20 23:00:27 +08:00
Tony Chen
1dab58616b
remove app info ( #1081 )
2021-06-19 15:40:28 +08:00
Tony Chen
7f72b72ddb
fix endpoint extract ( #1061 )
2021-06-15 11:39:28 +08:00
Tony Chen
6ee0607f03
transport: add transport kind ( #1059 )
...
* add transport kind
2021-06-15 11:05:13 +08:00
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
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
Tony Chen
079f11fb50
add endpoint context ( #979 )
2021-06-01 12:02:22 +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