rsocket-rpc-go
rsocket-rpc-go copied to clipboard
RSocket RPC Golang
rsocket-rpc-go

NOTICE
It is still under development. DO NOT USE IT IN A PRODUCTION ENVIRONMENT!!!
Install
- Install Protocol Buffers v3. Please see https://github.com/protocolbuffers/protobuf.
- We offer a
protoc-gen-gowith 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