plugin_protoc

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtoFile

type ProtoFile struct {
	Imports   []string
	GoPackage string
}

type ProtocParsedFlags

type ProtocParsedFlags struct {
	Include []string `short:"I" long:"proto_path"`
	GoOut   string   `long:"go_out"`
	GoOpt   []string `long:"go_opt"`
}

type ProtocPlugin

type ProtocPlugin struct {
	plugins.Plugin
}

func (*ProtocPlugin) ComputeInputOutputFiles

func (p *ProtocPlugin) ComputeInputOutputFiles(opts plugins.GenerateOpts) *plugins.InputOutputFiles

func (*ProtocPlugin) Matches

func (p *ProtocPlugin) Matches(opts plugins.GenerateOpts) bool

func (*ProtocPlugin) Name

func (p *ProtocPlugin) Name() string

Jump to

Keyboard shortcuts

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