protoc-gen-grpcproc

command
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command protoc-gen-grpcproc is a protoc plugin that writes the Go of a process's contract: for each service marked with the grpcproc.v1.process option, a client whose methods are the service's rpcs (a Call per rpc, a Send per one marked grpcproc.v1.send), a server interface with one method per rpc, and the HandleXCall and HandleXMessage functions that dispatch a message to it, for an actor's HandleCall and HandleMessage. The file goes beside protoc-gen-go's, as <name>_grpcproc.pb.go, and takes the same module= and paths= parameters.

go get -tool github.com/floatdrop/grpcproc/cmd/protoc-gen-grpcproc@latest

and in buf.gen.yaml:

plugins:
  - local: ["go", "tool", "protoc-gen-grpcproc"]
    out: .
    opt: module=example.com/app

Jump to

Keyboard shortcuts

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