Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImporterRPC ¶
type ImporterRPC struct {
// contains filtered or unexported fields
}
Here is an implementation that talks over RPC
func (*ImporterRPC) Client ¶
func (im *ImporterRPC) Client() *rpc.Client
func (*ImporterRPC) Import ¶
func (im *ImporterRPC) Import(s string) error
type ImporterRPCServer ¶
type ImporterRPCServer struct {
// This is the real implementation
Impl Importer
}
Here is the RPC server that ImporterRPC talks to, conforming to the requirements of net/rpc
func (*ImporterRPCServer) Import ¶
func (s *ImporterRPCServer) Import(args interface{}, resp *error) error
Click to show internal directories.
Click to hide internal directories.