Documentation

Overview

Package gengogrpc contains the gRPC code generator.

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Source Files