Versions in this module Expand all Collapse all v0 v0.34.22 Dec 28, 2022 Changes in this version + type Capabilities struct + Hairpin bool + PortMapping bool + func Probe(logger log.Logger) (caps Capabilities, err error) + 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 Service struct + ControlURL string + ServiceType string + type ServiceList struct + Service []Service + type SoapBody struct + ExternalIP *ExternalIPAddressResponse + XMLName xml.Name