Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CoordinatorSock ¶
func CoordinatorSock() string
Types ¶
type DoneTaskArgs ¶
type DoneTaskArgs struct {
TaskID int
}
type DoneTaskReply ¶
type DoneTaskReply struct { }
type GetTaskArgs ¶
type GetTaskArgs struct { }
type GetTaskReply ¶
type RPCClient ¶
type RPCClient struct {
// contains filtered or unexported fields
}
func NewRPCClient ¶
type RPCServer ¶
type RPCServer struct {
// contains filtered or unexported fields
}
func NewRPCServer ¶
func NewRPCServer( addr, network string, coordinator mr.Coordinatorer, ) *RPCServer
func (*RPCServer) DoneTask ¶
func (s *RPCServer) DoneTask(args *DoneTaskArgs, reply *DoneTaskReply) error
func (*RPCServer) GetTask ¶
func (s *RPCServer) GetTask(args *GetTaskArgs, reply *GetTaskReply) error
Click to show internal directories.
Click to hide internal directories.