Documentation ¶
Overview ¶
protoc-gen-go-rerpc is a plugin for the protocol buffer compiler that generates Go code. To use it, build this program and make it available on your PATH as protoc-gen-go-rerpc.
The 'go-rerpc' suffix becomes part of the arguments for the protocol buffer compiler, so you'll invoke it like this:
protoc --go-rerpc_out=. path/to/file.proto
This generates service definitions for the protocol buffer services defined by file.proto. As invoked above, the output will be written to:
path/to/file_rerpc.pb.go
If you'd prefer to write the output elsewhere, set '--go-rerpc_opt' as described in https://developers.google.com/protocol-buffers/docs/reference/go-generated.
Click to show internal directories.
Click to hide internal directories.