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
3 years ago
longxboy
98fd40bcb4
revert to select filters ( #1656 )
3 years ago
haiyux
27cfec93d6
optimize:chan bool to chan struct{} ( #1648 )
3 years ago
haiyux
3607ce1b92
feat: upgrade grpc version to 1.42.0 ( #1626 )
3 years ago
longxboy
988c2312b4
feat: add base fitler to improve performace ( #1612 )
...
* add node filter
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
3 years ago
longxboy
cd79c2a458
feat: add raw node ( #1611 )
...
* add raw node to improve performace
3 years ago
longxboy
91714bcd34
test: add transport grpc test ( #1580 )
...
* add transport grpc test
* fix node
3 years ago
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
3 years ago
longxboy
86dec76aa3
fix global selector bug ( #1564 )
3 years ago
longxboy
feeec630d7
feat: add selector and filters examples ( #1485 )
...
* add selector examples and filters
3 years ago
seasrain
55e00ce9f3
fix:server start panic when use Endpoint ( #1491 )
...
* fix:server start panic when use Endpoint
* fix test
* fix lint
3 years ago
letian
db2122860d
add endpoint option in grpc server ( #1488 )
3 years ago
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>
4 years ago
Tony Chen
0184d217cf
fix(transport/grpc): default base ctx ( #1465 )
...
* fix grpc base ctx
4 years ago
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
4 years ago
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
4 years ago
Windfarer
a128566cef
test(transport) add test ( #1325 )
...
* test
* test client and server
* return
* add args
* calloption
* test
4 years ago
Windfarer
f93084ba9f
test: option tests ( #1292 )
...
* test options
* more tests
4 years ago
Tony Chen
bc35f20228
feat(endpoint): add endpoint parser ( #1273 )
...
* feat(endpoint): add endpoint parser
* fix parseTarget ut
* fix insecure testing
4 years ago
zwhyb
8f4e78b47d
grpc‘s secure discovery ( #1270 )
...
* add gprc secure discovery
* add http insecure filter
4 years ago
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>
4 years ago
zwhyb
407250bf6c
create watcher overtime ( #1263 )
4 years ago
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
4 years ago
longxboy
a02d9b4192
add zero endpoint protection ( #1215 )
...
* add zero endpoint protection
4 years ago
喵喵大人
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>
4 years ago
longxboy
545ffd1084
add response header ( #1119 )
...
* add response header
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
Tony Chen
59f54b2661
Revert/root ctx v2 ( #1088 )
...
* Revert "remove app info (#1081 )"
This reverts commit 1dab58616b
.
* add http base ctx
Co-authored-by: longXboy <longxboyhi@gmail.com>
4 years ago
Tony Chen
1dab58616b
remove app info ( #1081 )
4 years ago
Tony Chen
7f72b72ddb
fix endpoint extract ( #1061 )
4 years ago
Tony Chen
6ee0607f03
transport: add transport kind ( #1059 )
...
* add transport kind
4 years ago
Tony Chen
8d8cd8c8a8
Middleware/metadata v2 ( #1050 )
...
* add middleware metadata
* add transport header
* add transport carrier
Co-authored-by: longXboy <longxboy@gmail.com>
4 years ago
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>
4 years ago
longxboy
736385c8e6
Feat/uni transport ( #1028 )
...
* add metadata incoming&outgoing
* regenerate proto
* uni transport
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
longXboy
864008ea6b
delete grpc recovery
4 years ago
Tony Chen
92b6bf54eb
add grpc interceptor option ( #990 )
4 years ago
Tony Chen
29e387a39c
add grpc interceptor option ( #987 )
4 years ago
Tony Chen
42b60381c9
transport: clean endpoint listen ( #989 )
...
* fix endpoint listen
4 years ago
Tony Chen
079f11fb50
add endpoint context ( #979 )
4 years ago
longxboy
e1d6377542
add feat endpoint ( #972 )
...
* add feature endpoint
4 years ago
longXboy
493373dc13
fix addr listen bug
4 years ago
Tony Chen
149fc0195e
kratos: add application info ( #968 )
...
* add application info
* add base context
* add client target
4 years ago
Sycamor
7f835db398
chore: change nil slice to maked slice ( #967 )
...
Co-authored-by: Sycamor <zhangqiang@acnet.co>
4 years ago
Tony Chen
4cb3fd62e3
rename Registry to Endpointer ( #964 )
4 years ago
Tony Chen
41ea1fbc76
fix data race ( #963 )
...
* fix data race
4 years ago
longxboy
9a3a02fc68
add http client rpc stub ( #943 )
...
* add http client
4 years ago
Tony Chen
ef6e52d1ba
add multiple middlewares ( #936 )
4 years ago
Tony Chen
ba5b8d1ee3
api/metadata: clean package ( #926 )
...
* clean api proto
* fix nil trace_id
4 years ago
Tony Chen
0dbcaa2443
clean transport ( #920 )
4 years ago
Tony Chen
d78eb3ee4b
log: add level printer ( #918 )
...
* add level printer
* fix helper args
* fix test
* Update README.md
4 years ago
Jason C.H
e7926b989d
Import direct resovler for grpc client ( #913 )
4 years ago