Deprecated: Use the "google.golang.org/protobuf" module instead.

package gengogrpc

import "github.com/golang/protobuf/internal/gengogrpc"

Package gengogrpc contains the gRPC code generator.

Index

Functions

func GenerateFile

func GenerateFile(gen *protogen.Plugin, file *protogen.File) *protogen.GeneratedFile

GenerateFile generates a _grpc.pb.go file containing gRPC service definitions.

func GenerateFileContent

func GenerateFileContent(gen *protogen.Plugin, file *protogen.File, g *protogen.GeneratedFile)

GenerateFileContent generates the gRPC service definitions, excluding the package statement.

Source Files

grpc.go

Version
v1.5.4 (latest)
Published
Mar 6, 2024
Platform
linux/amd64
Imports
5 packages
Last checked
5 days ago

Tools for package owners.