grpc: Files

Command protoc-gen-go-grpc

protoc-gen-go-grpc is a plugin for the Google protocol buffer compiler to generate Go code. Install it by building this program and making it accessible within your PATH with the name:


The 'go-grpc' suffix becomes part of the argument for the protocol compiler, such that it can be invoked as:

protoc --go-grpc_out=. path/to/file.proto

This generates Go service definitions for the protocol buffer defined by file.proto. With that input, the output will be written to:


Package Files

grpc.go main.go

Package main imports 7 packages (graph). Updated 2021-01-15. Refresh now. Tools for package owners.