Skip to content
/ oneRPC Public

自己写的使用 http2 传输协议和 msgpack 序列化协议实现的 RPC 框架,用 etcd 做服务发现,Vert.x 做网络服务

Notifications You must be signed in to change notification settings

onemsg/oneRPC

Repository files navigation

one-rpc

自己写的使用 http 传输协议和 msgpack 序列化协议实现的 RPC 框架,用 etcd 做服务发现

Install

git clone this project to your local

Usage

Frist ensure your etcd-server is running on localhost:2379

  • For rpc server-side
HelloService hello = new HelloServiceImple();
OneRpcServer.publish(hello, HelloService.class);
  • For rpc client-side
HelloService helloService = OneRpcClient.getService(HelloService.class);
String result = helloService.sayHello("Neil");

Related Efforts

  • vertx

  • msgpack

  • jetdc

Maintainers

License

None for a season

About

自己写的使用 http2 传输协议和 msgpack 序列化协议实现的 RPC 框架,用 etcd 做服务发现,Vert.x 做网络服务

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages