|
|
@ -34,8 +34,8 @@ type ObjectListResponse struct { |
|
|
|
MaxKeys int |
|
|
|
MaxKeys int |
|
|
|
Delimiter string |
|
|
|
Delimiter string |
|
|
|
IsTruncated bool |
|
|
|
IsTruncated bool |
|
|
|
Contents []*Item `xml:"",innerxml` |
|
|
|
Contents []*Item |
|
|
|
CommonPrefixes []*Prefix `xml:"",innerxml` |
|
|
|
CommonPrefixes []*Prefix |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Bucket list response format
|
|
|
|
// Bucket list response format
|
|
|
@ -44,7 +44,7 @@ type BucketListResponse struct { |
|
|
|
Owner Owner |
|
|
|
Owner Owner |
|
|
|
Buckets struct { |
|
|
|
Buckets struct { |
|
|
|
Bucket []*Bucket |
|
|
|
Bucket []*Bucket |
|
|
|
} `xml:"",innerxml` // Buckets are nested
|
|
|
|
} // Buckets are nested
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
type Prefix struct { |
|
|
|
type Prefix struct { |
|
|
|