Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator processes proto descriptors and generates flow type definitions.
func New ¶
func New(reg *descriptor.Registry) *Generator
New returns a new generator which generates flowtype type definition files.
func (*Generator) Generate ¶
func (g *Generator) Generate(targets []*descriptor.File, opts GeneratorOptions) ([]*plugin.CodeGeneratorResponse_File, error)
Generate processes the given proto files and produces flowtype output.
type GeneratorOptions ¶
type GeneratorOptions struct {
InputID string
}
GeneratorOptions describes output parameters
Click to show internal directories.
Click to hide internal directories.