forked from TrueCloudLab/frostfs-s3-gw
Add bucket info handler
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
This commit is contained in:
parent
92b039fa5e
commit
cea8f9d4ca
3 changed files with 46 additions and 72 deletions
|
@ -80,3 +80,9 @@ type Object struct {
|
|||
|
||||
// StringMap is a map[string]string.
|
||||
type StringMap map[string]string
|
||||
|
||||
// LocationResponse - format for location response.
|
||||
type LocationResponse struct {
|
||||
XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ LocationConstraint" json:"-"`
|
||||
Location string `xml:",chardata"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue