ezrpc 是一个微服务框架,用于服务器端的 RPC 通讯

网友投稿 1138 2022-11-01

ezrpc 是一个微服务框架,用于服务器端的 RPC 通讯

ezrpc 是一个微服务框架,用于服务器端的 RPC 通讯

ezrpc

ezrpc is a micro service framework for server side rpc communication.

It's based on nats and thrift, using code-gen approach, supporting Go & -(C#).

Service Definition

service Category { list GetIDs(1:i32 offset, 2:i32 limit),}

Usage

1 Generate language specified source files by thrift IDL

* C#thrift --gen csharp -o ./sample/ ./sample/HelloWorld.thrift* Gogenerator ./sample/HelloWorld.thrift` ./sample/

2 Genrate source files which will be used for subscribing NATS messages

* C#./ezrpc gen -l csharp -i ./sample/HelloWorld.thrift -o ./sample* Go./ezrpc gen -l go -i ./sample/HelloWorld.thrift -o ./sample

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Spring IoC全注解开发-依赖注入
下一篇:vue-manager:一个以Vue2.0为框架,结合 iView 和 ECharts 的后台组件
相关文章

 发表评论

暂时没有评论,来抢沙发吧~