Documentation ¶
Overview ¶
Package lib contains the library code for protoc-gen-yarpc-go.
It is split into a separate package so it can be called by the testing package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Runner = protoplugin.NewRunner( template.Must(template.New("tmpl").Funcs( template.FuncMap{ "unaryMethods": unaryMethods, "onewayMethods": onewayMethods, "clientStreamingMethods": clientStreamingMethods, "serverStreamingMethods": serverStreamingMethods, "clientServerStreamingMethods": clientServerStreamingMethods, "trimPrefixPeriod": trimPrefixPeriod, }).Parse(tmpl)), checkTemplateInfo, []string{ "context", "io/ioutil", "reflect", "github.com/gogo/protobuf/proto", "go.uber.org/yarpc", "go.uber.org/yarpc/api/transport", "go.uber.org/yarpc/encoding/protobuf", }, "pb.yarpc.go", )
Runner is the Runner used for protoc-gen-yarpc-go.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.