You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
491 B
29 lines
491 B
package minioapi
|
|
|
|
import (
|
|
"encoding/xml"
|
|
)
|
|
|
|
type ListResponse struct {
|
|
XMLName xml.Name `xml:"ListBucketResult"`
|
|
Name string `xml:"Name"`
|
|
toragerefix string
|
|
Marker string
|
|
MaxKeys int
|
|
IsTruncated bool
|
|
Contents []Content `xml:"Contents",innerxml`
|
|
}
|
|
|
|
type Content struct {
|
|
Key string
|
|
LastModified string
|
|
ETag string
|
|
Size int
|
|
StorageClass string
|
|
Owner Owner
|
|
}
|
|
|
|
type Owner struct {
|
|
ID string
|
|
DisplayName string
|
|
}
|
|
|