Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = SpecVersion{
Major: 1,
Minor: 0,
}
Functions ¶
This section is empty.
Types ¶
type AllowedValueRange ¶
type AllowedValues ¶
type AllowedValues struct {
Values []string `xml:"allowedValues"`
}
type Direction ¶
type Direction int
func (Direction) MarshalText ¶
func (*Direction) UnmarshalText ¶
type Document ¶
type Document struct { XMLName xml.Name `xml:"urn:schemas-upnp-org:service-1-0 scpd"` SpecVersion SpecVersion `xml:"specVersion"` StateVariables []StateVariable `xml:"serviceStateTable>stateVariable"` Actions []Action `xml:"actionList>action"` }
func FromAction ¶
type SpecVersion ¶
type StateVariable ¶
type StateVariable struct { Name string `xml:"name"` SendEventsAttribute xmltypes.YesNoBool `xml:"sendEventsAttribute"` DataType string `xml:"dataType"` AllowedValues *AllowedValues `xml:"allowedValueList,omitempty"` AllowedValueRange *AllowedValueRange `xml:"allowedValueRange,omitempty"` }
Click to show internal directories.
Click to hide internal directories.