【文件属性】:
文件名称:go_module_test
文件大小:13KB
文件格式:ZIP
更新时间:2021-04-18 20:30:20
Go
FlyingRPC
authored by liudeyu
特性
服务注册和服务发现,黑箱服务
轮询策略和可配置重试次数
服务下线或上线发现,自动通知消费者,调用方无感知
可选序列化方式 todo
例子
English
Feature:
Flying rpc is a rpc infrastruct with features as follows
Server register and consumer discovery
Round-robin and retry featurea to provide more scaleable service
Server provider down detection and notify to consumer
Selectable serialization and deserialization (todo)
For Usage
【文件预览】:
go_module_test-master
----client()
--------clientrequest.go(3KB)
--------cacheandmoniter.go(3KB)
----go.mod(232B)
----README.MD(600B)
----server()
--------serverregister.go(3KB)
--------serverhandler.go(3KB)
--------errortype.go(182B)
----model()
--------rpcmodel.go(650B)
----go.sum(1007B)
----hello.go(78B)
----utils()
--------rpcconstants.go(50B)
--------zkRegisterUtils.go(706B)
--------netutils.go(1KB)
--------commonutils.go(2KB)
----.idea()
--------workspace.xml(2KB)
----test()
--------ServerRegister_test.go(4KB)