Skip to content

rsocket/rsocket-rpc-go

rsocket-rpc-go

logo

Travis (.org) GoDoc Go Report Card License GitHub Release

NOTICE

It is still under development. DO NOT USE IT IN A PRODUCTION ENVIRONMENT!!!

Install

  1. Install Protocol Buffers v3. Please see https://github.com/protocolbuffers/protobuf.
  2. We offer a protoc-gen-go with RSocket RPC support and it's 100% compatible with official tools. Please install by command below:
$ go get -u github.com/rsocket/rsocket-rpc-go/protoc-gen-go

Generate Codes

If you are familiar with grpc, just replace the grpc with rrpc:

$ protoc --go_out=plugins=rrpc:./ping-pong ./ping-pong.proto

NOTICE: you can find some sample codes in examples