Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenPlugin ¶
type GenPlugin interface {
Link(srv Service) (proto.Message, GenPluginMethod, error)
}
GenPlugin is a generated plugin instance from protoc-gen-plug.
type GenPluginMethod ¶
GenPluginMethod is used internally to link plugin methods from protoc-gen-plug to the plugin runtime.
type Host ¶
type Host struct {
// contains filtered or unexported fields
}
Host is the internal host interface for communicating with the plugin. It should not be used by the plugin consumer, they should interface directly with the generated host implementation.
func Load ¶
Load is used to launch the plugin subprocess and to wrap the transport logic. It should not be used directly by a user, it is referenced in the code that is generated by `protoc-gen-plug`.
Click to show internal directories.
Click to hide internal directories.