[#190] Add POST object

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2021-08-30 22:44:53 +03:00 committed by Alex Vanin
parent b2bf81cec7
commit 42ed6a16ea
7 changed files with 560 additions and 52 deletions

View file

@ -175,6 +175,13 @@ type Tagging struct {
TagSet []Tag `xml:"TagSet>Tag"`
}
// PostResponse contains result of posting object.
type PostResponse struct {
Bucket string `xml:"Bucket"`
Key string `xml:"Key"`
ETag string `xml:"Etag"`
}
// Tag is AWS key-value tag.
type Tag struct {
Key string