-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathentity.go
More file actions
29 lines (24 loc) · 715 Bytes
/
Copy pathentity.go
File metadata and controls
29 lines (24 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package main
import "time"
type ErrorResponse struct {
Err string `xml:"Error"`
}
type ListBucketResult struct {
Name string `xml:"Name"`
Prefix string `xml:"Prefix"`
Marker string `xml:"Marker"`
MaxKeys int `xml:"MaxKeys"`
Delimiter string `xml:"Delimiter"`
IsTruncated bool `xml:"IsTruncated"`
CommonPrefixes []string `xml:"CommonPrefixes"`
Contents []Content `xml:"Contents"`
}
type Content struct {
Key string `xml:"key"`
LastModified time.Time `xml:"LastModified"`
Etag string `xml:"Etag"`
Size int64 `xml:"Size"`
}
type putObjectResponse struct {
Etag string `xml:"Etag"`
}