protocgen

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 12 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

Package protocgen writes the Go of a process's contract: for a service marked with grpcproc.v1.process, an address whose methods are its rpcs, a handler interface with one per rpc, the dispatch from a message to it, and a way to each topic the process owns. cmd/protoc-gen-grpcproc runs it.

Index

Constants

View Source
const Suffix = "_grpcproc.pb.go"

Suffix is what a generated file's name ends with, after the proto's.

Variables

This section is empty.

Functions

func Generate

func Generate(gen *protogen.Plugin) error

Generate writes a file for each file given that has a service marked as a process, beside protoc-gen-go's. It is what protogen.Options.Run is given.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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