Documentation ¶
Overview ¶
Package yarpc outputs yarpc service descriptions in Go code. It runs as a plugin for the Go protocol buffer compiler plugin. It is linked in to protoc-gen-yarpc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
yarpc is an implementation of the Go protocol buffer compiler's plugin architecture. It generates bindings for yarpc support.
func (*Plugin) Generate ¶
func (g *Plugin) Generate(file *generator.FileDescriptor)
Generate generates code for the services in the given file.
func (*Plugin) GenerateImports ¶
func (g *Plugin) GenerateImports(file *generator.FileDescriptor)
GenerateImports generates the import declaration for this file.
Click to show internal directories.
Click to hide internal directories.