Documentation ¶
Index ¶
Constants ¶
View Source
const (
Namespace = "urn:schemas-upnp-org:device-1-0"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Desc ¶
type Desc struct { XMLName xml.Name `xml:"root"` Xmlns string `xml:"xmlns,attr"` SpecVersion struct { Major int `xml:"major"` Minor int `xml:"minor"` } `xml:"specVersion"` Device struct { DeviceType string `xml:"deviceType"` // Basic information UDN string `xml:"UDN"` UPC string `xml:"UPC,omitempty"` FriendlyName string `xml:"friendlyName"` SerialNumber string `xml:"serialNumber,omitempty"` // Manufacturer information Manufacturer string `xml:"manufacturer"` ManufacturerURL string `xml:"manufacturerURL,omitempty"` // Model information ModelName string `xml:"modelName"` ModelDescription string `xml:"modelDescription,omitempty"` ModelNumber string `xml:"modelNumber,omitempty"` ModelURL string `xml:"modelURL,omitempty"` // Icon list IconList struct { Icons []Icon `xml:"icon"` } `xml:"iconList"` // Service list ServiceList struct { Services []Service `xml:"service"` } `xml:"serviceList"` PresentationURL string `xml:"presentationURL,omitempty"` } `xml:"device"` }
Desc is the whole device description document
Click to show internal directories.
Click to hide internal directories.