Versions in this module Expand all Collapse all v0 v0.0.1 Mar 19, 2019 v0.0.0 Mar 19, 2019 Changes in this version + type Device struct + DeviceList DeviceList + DeviceType string + ServiceList ServiceList + XMLName xml.Name + type DeviceList struct + Device []Device + type Envelope struct + Soap *SoapBody + XMLName xml.Name + type ExternalIPAddress struct + IP string + XMLName xml.Name + type ExternalIPAddressResponse struct + IPAddress string + XMLName xml.Name + type NAT interface + AddPortMapping func(protocol string, externalPort, internalPort int, description string, ...) (mappedExternalPort int, err error) + DeletePortMapping func(protocol string, externalPort, internalPort int) (err error) + GetExternalAddress func() (addr net.IP, err error) + func Discover() (nat NAT, err error) + type Root struct + Device Device + type ServiceList struct + Service []UPNPService + type SoapBody struct + ExternalIP *ExternalIPAddressResponse + XMLName xml.Name + type UPNPCapabilities struct + Hairpin bool + PortMapping bool + func Probe(logger log.Logger) (caps UPNPCapabilities, err error) + type UPNPService struct + ControlURL string + ServiceType string