func (client *Client) GetObjectWithContext(ctx context.Context, request *GetObjectRequest) (io.ReadCloser, error) {
	req := &clientRequest{
		BucketName:         request.BucketName,
		ObjectName:         request.ObjectName,
		QueryHeaderOptions: request,
		Method:             HTTPGet,
	}

	resp, err := client.do(ctx, req)
	if err != nil {
		return nil, err
	}

	return resp.Body, nil
}
// GetObjectWithContext will get full content of object with context controlling
GetObjectWithContext will get full content of object with context controlling
// GetObjectWithContext will get full content of object with context controlling
func (client *Client) GetObjectWithContext(ctx context.Context, request *GetObjectRequest) (io.ReadCloser, error) {
	req := &clientRequest{
		BucketName:         request.BucketName,
		ObjectName:         request.ObjectName,
		QueryHeaderOptions: request,
		Method:             HTTPGet,
	}
	resp, err := client.do(ctx, req)
	if err != nil {
		return nil, err
	}
	return resp.Body, nil
}
func ( client * Client ) GetObjectWithContext ( ctx context . Context , request * GetObjectRequest ) ( io . ReadCloser , error ) { req := & clientRequest { BucketName : request . BucketName , ObjectName : request . ObjectName , QueryHeaderOptions : request , Method : HTTPGet , } resp , err := client . do ( ctx , req ) if err != nil { return nil , err } return resp . Body , nil }
GetObjectWithContext will get full content of object with context controlling
GetObjectWithContext will get full content of object with context controlling