Versions in this module Expand all Collapse all v1 v1.2.4 Apr 22, 2021 Changes in this version + const ActionFailedErrorCode + const ArgumentValueInvalidErrorCode + const InvalidActionErrorCode + var ArgumentValueInvalidError = Errorf(600, "The argument value is invalid") + var InvalidActionError = Errorf(401, "Invalid Action") + func FormatUUID(buf []byte) string + func ParseCallbackURLs(callback string) (ret []*url.URL) + type Action struct + Arguments []Argument + Name string + type Argument struct + Direction string + Name string + RelatedStateVar string + type Device struct + DeviceType string + FriendlyName string + IconList []Icon + Manufacturer string + ModelName string + ServiceList []Service + UDN string + type DeviceDesc struct + Device Device + SpecVersion SpecVersion + XMLName xml.Name + type Error struct + Code uint + Desc string + XMLName xml.Name + func ConvertError(err error) *Error + func Errorf(code uint, tpl string, args ...interface{}) *Error + func (e *Error) Error() string + type Eventing struct + func (me *Eventing) Subscribe(callback []*url.URL, timeoutSeconds int) (sid string, actualTimeout int, err error) + func (me *Eventing) Unsubscribe(sid string) error + type Icon struct + Depth int + Height int + Mimetype string + URL string + Width int + type Property struct + Variable Variable + XMLName struct{} + type PropertySet struct + Properties []Property + Space string + XMLName struct{} + type SCPD struct + ActionList []Action + ServiceStateTable []StateVariable + SpecVersion SpecVersion + XMLName xml.Name + type Service struct + ControlURL string + EventSubURL string + SCPDURL string + ServiceId string + ServiceType string + XMLName xml.Name + type ServiceURN struct + Type string + Version uint64 + func ParseServiceType(s string) (ret ServiceURN, err error) + func (me ServiceURN) String() string + type SoapAction struct + Action string + func ParseActionHTTPHeader(s string) (ret SoapAction, err error) + type SpecVersion struct + Major int + Minor int + type StateVariable struct + AllowedValues *[]string + DataType string + Name string + SendEvents string + type Variable struct + Value string + XMLName xml.Name