tagger

package
v0.0.0-...-986f7f0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin interface {
	// Proccess reads input stream data, proccesses files to add necessary tags and writes output.
	Proccess() error
}

Plugin is simple plugin interface. It has Process func only. It reads input stream data, proccesses files to add necessary tags and writes output according to the following specification: https://github.com/golang/protobuf/blob/master/protoc-gen-go/plugin/plugin.proto

func NewPlugin

func NewPlugin(in io.Reader, out io.Writer) Plugin

NewPlugin returns new object is implementing Plugin interface in - input stream that contains CodeGeneratorRequest serialized protop message out - output stream to store result CodeGeneratorResponse serialized proto message

Jump to

Keyboard shortcuts

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