protoc-gen-gorpc is a protoc plugin for generating gorpc code.
how to use this plugin:
protoc --gorpc_out=plugins=gorpc:. ${filename}.proto
you can install this plugin by run:
go install github.com/hitzhangjie/protoc-gen-gorpc
please watch go-rpc
project, it's a simple and beautiful rpc framework written in go.