pb

package
v5.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package pb contains the protobuf definitions for pgwatch gRPC API.

To generate the Go code from the protobuf definitions, you need to install:

  • protoc (Protocol Buffers compiler)
  • protoc-gen-go (Go plugin for protoc)
  • protoc-gen-go-grpc (Go gRPC plugin for protoc)

On Windows:

go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
winget install protobuf

On Linux/macOS:

go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
# Install protoc via package manager (apt, brew, etc.)

Then run: go generate ./api/pb/

Jump to

Keyboard shortcuts

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