Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tag ¶
Tag denotes key and value.
func (Tag) MarshalXML ¶
MarshalXML encodes to XML data.
func (*Tag) UnmarshalXML ¶
UnmarshalXML decodes XML data to tag.
type Tags ¶
type Tags tagging
Tags is list of tags of XML request/response as per https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketTagging.html#API_GetBucketTagging_RequestBody
func Parse ¶ added in v6.0.56
Parse decodes HTTP query formatted string into tags which is limited by isObject. A query formatted string is like "key1=value1&key2=value2".
func ParseBucketXML ¶
ParseBucketXML decodes XML data of tags in reader specified in https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html#API_PutBucketTagging_RequestSyntax.
func ParseObjectTags ¶
ParseObjectTags decodes HTTP query formatted string into tags. A query formatted string is like "key1=value1&key2=value2".
func ParseObjectXML ¶
ParseObjectXML decodes XML data of tags in reader specified in https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObjectTagging.html#API_PutObjectTagging_RequestSyntax