func (ss *Storageserver) RemoveFromListRPC(args *storageproto.PutArgs, reply *storageproto.PutReply) os.Error { ss.handleModRequest(args.Key) // revoke leases status, err := ss.tm.RemoveFromList(args.Key, []byte(args.Value)) reply.Status = status return err }
func (ss *Storageserver) PutRPC(args *storageproto.PutArgs, reply *storageproto.PutReply) os.Error { ss.handleModRequest(args.Key) // revoke leases status := ss.tm.PUT(args.Key, []byte(args.Value)) reply.Status = status return nil }