protoc

package
v0.0.0-...-c286765 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(p Plugin)

Run ...

func RunWithIO

func RunWithIO(p Plugin, reader io.Reader, writer io.Writer)

RunWithIO ...

Types

type Plugin

type Plugin interface {
	Generate(req *plugin_go.CodeGeneratorRequest) (*plugin_go.CodeGeneratorResponse, error)
}

Plugin defines a protoc plugin

type Result

type Result struct {
}

Result ...

func ParseCodeGeneratorRequest

func ParseCodeGeneratorRequest(req *plugin_go.CodeGeneratorRequest) (*Result, error)

ParseCodeGeneratorRequest ...

Jump to

Keyboard shortcuts

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