proto

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0, BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package proto contains protocol buffers that are exchanged between the client and server.

Generating Protocol Buffer Code

Anytime the Protocol Buffer definitions change, the generated Go code must be regenerated. This can be done with "go generate". Just run:

go generate ./...

Alternatively, you can manually invoke the protoc script yourself by running:

./files/generate_protos.sh

Upstream documentation: https://developers.google.com/protocol-buffers/docs/reference/go-generated

Code Generation Dependencies

To generate the Go code, your system must have "protoc" installed. See: https://github.com/protocolbuffers/protobuf#protocol-compiler-installation

The "protoc-gen-go" tool must also be installed. To install it, run:

go install google.golang.org/protobuf/cmd/protoc-gen-go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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