mirror of
https://github.com/minio/minio.git
synced 2024-12-26 23:25:54 -05:00
30 lines
491 B
Go
30 lines
491 B
Go
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
|
|
}
|