mirror of https://github.com/docker/docs.git
18 lines
350 B
Go
18 lines
350 B
Go
package locationClient
|
|
|
|
import (
|
|
"encoding/xml"
|
|
)
|
|
|
|
type LocationList struct {
|
|
XMLName xml.Name `xml:"Locations"`
|
|
Xmlns string `xml:"xmlns,attr"`
|
|
Locations []Location `xml:"Location"`
|
|
}
|
|
|
|
type Location struct {
|
|
Name string
|
|
DisplayName string
|
|
AvailableServices []string `xml:"AvailableServices>AvailableService"`
|
|
}
|