Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transformer ¶
Transformer is the interface that must be implemented by plugin authors.
type TransformerPlugin ¶
type TransformerPlugin struct { // Impl Injection Impl Transformer }
TransformerPlugin is the implementation of plugin.Devices so we can serve/consume this
func (TransformerPlugin) Client ¶
func (TransformerPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error)
Client - muxing
func (*TransformerPlugin) Server ¶
func (p *TransformerPlugin) Server(*plugin.MuxBroker) (interface{}, error)
Server - muxing
type TransformerRPC ¶
type TransformerRPC struct {
// contains filtered or unexported fields
}
TransformerRPC - an implementation that talks over RPC
type TransformerRPCServer ¶
type TransformerRPCServer struct {
Impl Transformer
}
TransformerRPCServer - is the RPC server that TransformerRPC talks to, conforming to the requirements of net/rpc
Click to show internal directories.
Click to hide internal directories.