List objects in a bucket.

This commit is contained in:
Frederick F. Kautz IV
2015-01-20 18:39:30 -08:00
parent d6fd1b0a38
commit cc4329fb12
3 changed files with 91 additions and 39 deletions
+3 -3
View File
@@ -7,9 +7,9 @@ import (
type ListResponse struct {
XMLName xml.Name `xml:"ListBucketResult"`
Name string `xml:"Name"`
Prefix string
toragerefix string
Marker string
MaxKeys int32
MaxKeys int
IsTruncated bool
Contents []Content `xml:"Contents",innerxml`
}
@@ -18,7 +18,7 @@ type Content struct {
Key string
LastModified string
ETag string
Size uint64
Size int
StorageClass string
Owner Owner
}