func (c *Client) Remove(r *protocol.RemoveRequest) (*protocol.RemoveResponse, error) {
	resp, err := c.send(r)
	if err != nil {
		return nil, err
	}

	if resp, ok := resp.(*protocol.RemoveResponse); ok {
		return resp, nil
	}
	return nil, ErrInvalidResponse
}
// Remove terminates a fid and removes the file if possible.
Remove terminates a fid and removes the file if possible.
// Remove terminates a fid and removes the file if possible .
func (c *Client) Remove(r *protocol.RemoveRequest) (*protocol.RemoveResponse, error) {
	resp, err := c.send(r)
	if err != nil {
		return nil, err
	}
	if resp, ok := resp.(*protocol.RemoveResponse); ok {
		return resp, nil
	}
	return nil, ErrInvalidResponse
}
func ( c * Client ) Remove ( r * protocol . RemoveRequest ) ( * protocol . RemoveResponse , error ) { resp , err := c . send ( r ) if err != nil { return nil , err } if resp , ok := resp . ( * protocol . RemoveResponse ) ; ok { return resp , nil } return nil , ErrInvalidResponse }
Remove terminates a fid and removes the file if possible.
Remove terminates a fid and removes the file if possible .