Versions in this module Expand all Collapse all v0 v0.1.1 Nov 10, 2020 v0.1.0 Nov 8, 2020 Changes in this version + const UPNPRootDeviceType + type Action struct + Arguments []Argument + Name string + func (me *Action) Trim() + func (me *Action) Validate(res *[]string) (ok bool) + type AllowedValueRange struct + Maximum string + Minimum string + Step string + func (me *AllowedValueRange) IsZero() bool + type Argument struct + Direction string + Name string + RelatedStateVariable string + func (me *Argument) Trim() + func (me *Argument) Validate(res *[]string) (ok bool) + type Device struct + DeviceType string + Devices []Device + FriendlyName string + Icons []Icon + Manufacturer string + ManufacturerURL string + ModelDescription string + ModelName string + ModelNumber string + ModelURL string + PresentationURL string + SerialNumber string + Services []ServiceReference + UDN string + UPC string + func (me *Device) Trim() + func (me Device) Validate(res *[]string) (ok bool) + type Icon struct + Depth uint32 + Height uint32 + Mimetype string + URL string + Width uint32 + type RootDevice struct + ConfigID uint32 + Device Device + SpecVersion SpecVersion + XMLName xml.Name + func LoadRootDevice(filepath string) (dvc *RootDevice, err error) + func (me *RootDevice) Hash() (hash []byte, err error) + func (me *RootDevice) Validate() (ok bool, res []string) + type Service struct + Actions []Action + ConfigID uint32 + ServiceStateTable []StateVariable + SpecVersion SpecVersion + XMLName xml.Name + func LoadService(filepath string) (svc *Service, err error) + func (me *Service) Hash() (hash []byte, err error) + func (me *Service) Validate() (ok bool, res []string) + type ServiceMap map[string]*Service + type ServiceReference struct + ControlURL string + EventSubURL string + SCPDURL string + ServiceID string + ServiceType string + func (me *ServiceReference) Trim() + func (me *ServiceReference) Validate(res *[]string) (ok bool) + type SpecVersion struct + Major int32 + Minor int32 + type StateVariable struct + AllowedValueList []string + AllowedValueRange AllowedValueRange + DataType string + DefaultValue string + Multicast string + Name string + SendEvents string + func (me *StateVariable) Trim() + func (me *StateVariable) Validate(res *[]string) (ok bool)