protoc-gen-go-brpc

command module
v0.0.0-...-3b6a1d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

README

protoc-gen-go-brpc

This tool generates Go language bindings of services in protobuf definition files for bRPC.

Documentation

Overview

protoc-gen-go-brpc 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:

protoc-gen-go-brpc

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

protoc --go-brpc_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:

path/to/file_brpc.pb.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL