9 // Response defines HTTP response from OSS
10 type Response struct {
18 func (r *Response) Read(p []byte) (n int, err error) {
22 // Close close http reponse body
23 func (r *Response) Close() error {
27 // PutObjectRequest is the request of DoPutObject
28 type PutObjectRequest struct {
33 // GetObjectRequest is the request of DoGetObject
34 type GetObjectRequest struct {
38 // GetObjectResult is the result of DoGetObject
39 type GetObjectResult struct {
45 // AppendObjectRequest is the requtest of DoAppendObject
46 type AppendObjectRequest struct {
52 // AppendObjectResult is the result of DoAppendObject
53 type AppendObjectResult struct {
58 // UploadPartRequest is the request of DoUploadPart
59 type UploadPartRequest struct {
60 InitResult *InitiateMultipartUploadResult
66 // UploadPartResult is the result of DoUploadPart
67 type UploadPartResult struct {