Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BothRPCServer ¶
func (*BothRPCServer) Foobar ¶
func (g *BothRPCServer) Foobar(args interface{}, resp *string) error
func (*BothRPCServer) Greet ¶
func (g *BothRPCServer) Greet(args interface{}, resp *string) error
type FoobarPlugin ¶
type FoobarPlugin struct {
Impl Foobar
}
func (*FoobarPlugin) Client ¶
func (p *FoobarPlugin) Client(broker *plugin.MuxBroker, client *rpc.Client) (interface{}, error)
func (*FoobarPlugin) Server ¶
func (p *FoobarPlugin) Server(broker *plugin.MuxBroker) (interface{}, error)
type FoobarRPCServer ¶
type FoobarRPCServer struct {
Impl Foobar
}
func (*FoobarRPCServer) Foobar ¶
func (g *FoobarRPCServer) Foobar(args interface{}, resp *string) error
type GreeterPlugin ¶
type GreeterPlugin struct {
Impl Greeter
}
func (*GreeterPlugin) Client ¶
func (p *GreeterPlugin) Client(broker *plugin.MuxBroker, client *rpc.Client) (interface{}, error)
func (*GreeterPlugin) Server ¶
func (p *GreeterPlugin) Server(broker *plugin.MuxBroker) (interface{}, error)
type GreeterRPC ¶
type GreeterRPC struct {
// contains filtered or unexported fields
}
func (*GreeterRPC) Greet ¶
func (g *GreeterRPC) Greet() string
type GreeterRPCServer ¶
type GreeterRPCServer struct {
Impl Greeter
}
func (*GreeterRPCServer) Foobar ¶
Foobar is the RPC accessible method that wraps the Greeter's Foobar method.
func (*GreeterRPCServer) Greet ¶
func (g *GreeterRPCServer) Greet(args interface{}, resp *string) error
Click to show internal directories.
Click to hide internal directories.