Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct { FilenamePrefix string GoPackageName protogen.GoPackageName GoImportPath protogen.GoImportPath Gen *protogen.Plugin Streams map[string]int RegistryTags map[string]*options.RegistryTag Services []*protogen.Service Imports map[string]bool }
Generator holds the config used to generate the files
func (*Generator) GenerateFile ¶
func (g *Generator) GenerateFile() *protogen.GeneratedFile
GenerateFile generates a _ascii.pb.go file containing gRPC service definitions.
Click to show internal directories.
Click to hide internal directories.