LANHostConfigManagement1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:LANHostConfigManagement:1". See
goupnp.ServiceClient, which contains RootDevice and Service attributes which
are provided for informational value.ServiceClientgoupnp.ServiceClientServiceClient.Location*url.URLServiceClient.RootDevice*goupnp.RootDeviceServiceClient.SOAPClient*soap.SOAPClientServiceClient.Service*goupnp.Service DeleteDNSServer is the legacy version of DeleteDNSServerCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) DeleteDNSServerCtx(ctx context.Context, NewDNSServers string) (err error) DeleteIPRouter is the legacy version of DeleteIPRouterCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) DeleteIPRouterCtx(ctx context.Context, NewIPRouters string) (err error) DeleteReservedAddress is the legacy version of DeleteReservedAddressCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) DeleteReservedAddressCtx(ctx context.Context, NewReservedAddresses string) (err error) GetAddressRange is the legacy version of GetAddressRangeCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) GetAddressRangeCtx(ctx context.Context) (NewMinAddress string, NewMaxAddress string, err error) GetDHCPRelay is the legacy version of GetDHCPRelayCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) GetDHCPRelayCtx(ctx context.Context) (NewDHCPRelay bool, err error) GetDHCPServerConfigurable is the legacy version of GetDHCPServerConfigurableCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) GetDHCPServerConfigurableCtx(ctx context.Context) (NewDHCPServerConfigurable bool, err error) GetDNSServers is the legacy version of GetDNSServersCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) GetDNSServersCtx(ctx context.Context) (NewDNSServers string, err error) GetDomainName is the legacy version of GetDomainNameCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) GetDomainNameCtx(ctx context.Context) (NewDomainName string, err error) GetIPRoutersList is the legacy version of GetIPRoutersListCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) GetIPRoutersListCtx(ctx context.Context) (NewIPRouters string, err error) GetReservedAddresses is the legacy version of GetReservedAddressesCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) GetReservedAddressesCtx(ctx context.Context) (NewReservedAddresses string, err error) GetServiceClient returns the ServiceClient itself. This is provided so that the
service client attributes can be accessed via an interface method on a
wrapping type. GetSubnetMask is the legacy version of GetSubnetMaskCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) GetSubnetMaskCtx(ctx context.Context) (NewSubnetMask string, err error) LocalAddr returns the address from which the device was discovered (if known - otherwise empty). SetAddressRange is the legacy version of SetAddressRangeCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) SetAddressRangeCtx(ctx context.Context, NewMinAddress string, NewMaxAddress string) (err error) SetDHCPRelay is the legacy version of SetDHCPRelayCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) SetDHCPRelayCtx(ctx context.Context, NewDHCPRelay bool) (err error) SetDHCPServerConfigurable is the legacy version of SetDHCPServerConfigurableCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) SetDHCPServerConfigurableCtx(ctx context.Context, NewDHCPServerConfigurable bool) (err error) SetDNSServer is the legacy version of SetDNSServerCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) SetDNSServerCtx(ctx context.Context, NewDNSServers string) (err error) SetDomainName is the legacy version of SetDomainNameCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) SetDomainNameCtx(ctx context.Context, NewDomainName string) (err error) SetIPRouter is the legacy version of SetIPRouterCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) SetIPRouterCtx(ctx context.Context, NewIPRouters string) (err error) SetReservedAddress is the legacy version of SetReservedAddressCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) SetReservedAddressCtx(ctx context.Context, NewReservedAddresses string) (err error) SetSubnetMask is the legacy version of SetSubnetMaskCtx, but uses
context.Background() as the context.(*LANHostConfigManagement1) SetSubnetMaskCtx(ctx context.Context, NewSubnetMask string) (err error)
func NewLANHostConfigManagement1Clients() (clients []*LANHostConfigManagement1, errors []error, err error)
func NewLANHostConfigManagement1ClientsByURL(loc *url.URL) ([]*LANHostConfigManagement1, error)
func NewLANHostConfigManagement1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*LANHostConfigManagement1, error)
func NewLANHostConfigManagement1ClientsCtx(ctx context.Context) (clients []*LANHostConfigManagement1, errors []error, err error)
func NewLANHostConfigManagement1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*LANHostConfigManagement1, error)
WANCableLinkConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANCableLinkConfig:1". See
goupnp.ServiceClient, which contains RootDevice and Service attributes which
are provided for informational value.ServiceClientgoupnp.ServiceClientServiceClient.Location*url.URLServiceClient.RootDevice*goupnp.RootDeviceServiceClient.SOAPClient*soap.SOAPClientServiceClient.Service*goupnp.Service GetBPIEncryptionEnabled is the legacy version of GetBPIEncryptionEnabledCtx, but uses
context.Background() as the context.(*WANCableLinkConfig1) GetBPIEncryptionEnabledCtx(ctx context.Context) (NewBPIEncryptionEnabled bool, err error) GetCableLinkConfigInfo is the legacy version of GetCableLinkConfigInfoCtx, but uses
context.Background() as the context. Return values:
* NewCableLinkConfigState: allowed values: notReady, dsSyncComplete, usParamAcquired, rangingComplete, ipComplete, todEstablished, paramTransferComplete, registrationComplete, operational, accessDenied
* NewLinkType: allowed values: Ethernet GetConfigFile is the legacy version of GetConfigFileCtx, but uses
context.Background() as the context.(*WANCableLinkConfig1) GetConfigFileCtx(ctx context.Context) (NewConfigFile string, err error) GetDownstreamFrequency is the legacy version of GetDownstreamFrequencyCtx, but uses
context.Background() as the context.(*WANCableLinkConfig1) GetDownstreamFrequencyCtx(ctx context.Context) (NewDownstreamFrequency uint32, err error) GetDownstreamModulation is the legacy version of GetDownstreamModulationCtx, but uses
context.Background() as the context. Return values:
* NewDownstreamModulation: allowed values: 64QAM, 256QAM GetServiceClient returns the ServiceClient itself. This is provided so that the
service client attributes can be accessed via an interface method on a
wrapping type. GetTFTPServer is the legacy version of GetTFTPServerCtx, but uses
context.Background() as the context.(*WANCableLinkConfig1) GetTFTPServerCtx(ctx context.Context) (NewTFTPServer string, err error) GetUpstreamChannelID is the legacy version of GetUpstreamChannelIDCtx, but uses
context.Background() as the context.(*WANCableLinkConfig1) GetUpstreamChannelIDCtx(ctx context.Context) (NewUpstreamChannelID uint32, err error) GetUpstreamFrequency is the legacy version of GetUpstreamFrequencyCtx, but uses
context.Background() as the context.(*WANCableLinkConfig1) GetUpstreamFrequencyCtx(ctx context.Context) (NewUpstreamFrequency uint32, err error) GetUpstreamModulation is the legacy version of GetUpstreamModulationCtx, but uses
context.Background() as the context. Return values:
* NewUpstreamModulation: allowed values: QPSK, 16QAM GetUpstreamPowerLevel is the legacy version of GetUpstreamPowerLevelCtx, but uses
context.Background() as the context.(*WANCableLinkConfig1) GetUpstreamPowerLevelCtx(ctx context.Context) (NewUpstreamPowerLevel uint32, err error) LocalAddr returns the address from which the device was discovered (if known - otherwise empty).
func NewWANCableLinkConfig1Clients() (clients []*WANCableLinkConfig1, errors []error, err error)
func NewWANCableLinkConfig1ClientsByURL(loc *url.URL) ([]*WANCableLinkConfig1, error)
func NewWANCableLinkConfig1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*WANCableLinkConfig1, error)
func NewWANCableLinkConfig1ClientsCtx(ctx context.Context) (clients []*WANCableLinkConfig1, errors []error, err error)
func NewWANCableLinkConfig1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*WANCableLinkConfig1, error)
WANCommonInterfaceConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1". See
goupnp.ServiceClient, which contains RootDevice and Service attributes which
are provided for informational value.ServiceClientgoupnp.ServiceClientServiceClient.Location*url.URLServiceClient.RootDevice*goupnp.RootDeviceServiceClient.SOAPClient*soap.SOAPClientServiceClient.Service*goupnp.Service GetActiveConnection is the legacy version of GetActiveConnectionCtx, but uses
context.Background() as the context.(*WANCommonInterfaceConfig1) GetActiveConnectionCtx(ctx context.Context, NewActiveConnectionIndex uint16) (NewActiveConnDeviceContainer string, NewActiveConnectionServiceID string, err error) GetCommonLinkProperties is the legacy version of GetCommonLinkPropertiesCtx, but uses
context.Background() as the context. Return values:
* NewWANAccessType: allowed values: DSL, POTS, Cable, Ethernet
* NewPhysicalLinkStatus: allowed values: Up, Down GetEnabledForInternet is the legacy version of GetEnabledForInternetCtx, but uses
context.Background() as the context.(*WANCommonInterfaceConfig1) GetEnabledForInternetCtx(ctx context.Context) (NewEnabledForInternet bool, err error) GetMaximumActiveConnections is the legacy version of GetMaximumActiveConnectionsCtx, but uses
context.Background() as the context. Return values:
* NewMaximumActiveConnections: allowed value range: minimum=1, step=1 GetServiceClient returns the ServiceClient itself. This is provided so that the
service client attributes can be accessed via an interface method on a
wrapping type. GetTotalBytesReceived is the legacy version of GetTotalBytesReceivedCtx, but uses
context.Background() as the context.(*WANCommonInterfaceConfig1) GetTotalBytesReceivedCtx(ctx context.Context) (NewTotalBytesReceived uint64, err error) GetTotalBytesSent is the legacy version of GetTotalBytesSentCtx, but uses
context.Background() as the context.(*WANCommonInterfaceConfig1) GetTotalBytesSentCtx(ctx context.Context) (NewTotalBytesSent uint64, err error) GetTotalPacketsReceived is the legacy version of GetTotalPacketsReceivedCtx, but uses
context.Background() as the context.(*WANCommonInterfaceConfig1) GetTotalPacketsReceivedCtx(ctx context.Context) (NewTotalPacketsReceived uint32, err error) GetTotalPacketsSent is the legacy version of GetTotalPacketsSentCtx, but uses
context.Background() as the context.(*WANCommonInterfaceConfig1) GetTotalPacketsSentCtx(ctx context.Context) (NewTotalPacketsSent uint32, err error) GetWANAccessProvider is the legacy version of GetWANAccessProviderCtx, but uses
context.Background() as the context.(*WANCommonInterfaceConfig1) GetWANAccessProviderCtx(ctx context.Context) (NewWANAccessProvider string, err error) LocalAddr returns the address from which the device was discovered (if known - otherwise empty). SetEnabledForInternet is the legacy version of SetEnabledForInternetCtx, but uses
context.Background() as the context.(*WANCommonInterfaceConfig1) SetEnabledForInternetCtx(ctx context.Context, NewEnabledForInternet bool) (err error)
func NewWANCommonInterfaceConfig1Clients() (clients []*WANCommonInterfaceConfig1, errors []error, err error)
func NewWANCommonInterfaceConfig1ClientsByURL(loc *url.URL) ([]*WANCommonInterfaceConfig1, error)
func NewWANCommonInterfaceConfig1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*WANCommonInterfaceConfig1, error)
func NewWANCommonInterfaceConfig1ClientsCtx(ctx context.Context) (clients []*WANCommonInterfaceConfig1, errors []error, err error)
func NewWANCommonInterfaceConfig1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*WANCommonInterfaceConfig1, error)
WANIPConnection1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANIPConnection:1". See
goupnp.ServiceClient, which contains RootDevice and Service attributes which
are provided for informational value.ServiceClientgoupnp.ServiceClientServiceClient.Location*url.URLServiceClient.RootDevice*goupnp.RootDeviceServiceClient.SOAPClient*soap.SOAPClientServiceClient.Service*goupnp.Service AddPortMapping is the legacy version of AddPortMappingCtx, but uses
context.Background() as the context.(*WANIPConnection1) AddPortMappingCtx(ctx context.Context, NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32) (err error) DeletePortMapping is the legacy version of DeletePortMappingCtx, but uses
context.Background() as the context.(*WANIPConnection1) DeletePortMappingCtx(ctx context.Context, NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (err error) ForceTermination is the legacy version of ForceTerminationCtx, but uses
context.Background() as the context.(*WANIPConnection1) ForceTerminationCtx(ctx context.Context) (err error) GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses
context.Background() as the context.(*WANIPConnection1) GetAutoDisconnectTimeCtx(ctx context.Context) (NewAutoDisconnectTime uint32, err error) GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses
context.Background() as the context. Return values:
* NewPossibleConnectionTypes: allowed values: Unconfigured, IP_Routed, IP_Bridged GetExternalIPAddress is the legacy version of GetExternalIPAddressCtx, but uses
context.Background() as the context.(*WANIPConnection1) GetExternalIPAddressCtx(ctx context.Context) (NewExternalIPAddress string, err error) GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses
context.Background() as the context. Return values:
* NewProtocol: allowed values: TCP, UDP GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses
context.Background() as the context.(*WANIPConnection1) GetIdleDisconnectTimeCtx(ctx context.Context) (NewIdleDisconnectTime uint32, err error) GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses
context.Background() as the context.(*WANIPConnection1) GetNATRSIPStatusCtx(ctx context.Context) (NewRSIPAvailable bool, NewNATEnabled bool, err error) GetServiceClient returns the ServiceClient itself. This is provided so that the
service client attributes can be accessed via an interface method on a
wrapping type. GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses
context.Background() as the context.(*WANIPConnection1) GetSpecificPortMappingEntryCtx(ctx context.Context, NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses
context.Background() as the context. Return values:
* NewConnectionStatus: allowed values: Unconfigured, Connected, Disconnected
* NewLastConnectionError: allowed values: ERROR_NONE GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses
context.Background() as the context.(*WANIPConnection1) GetWarnDisconnectDelayCtx(ctx context.Context) (NewWarnDisconnectDelay uint32, err error) LocalAddr returns the address from which the device was discovered (if known - otherwise empty). RequestConnection is the legacy version of RequestConnectionCtx, but uses
context.Background() as the context.(*WANIPConnection1) RequestConnectionCtx(ctx context.Context) (err error) RequestTermination is the legacy version of RequestTerminationCtx, but uses
context.Background() as the context.(*WANIPConnection1) RequestTerminationCtx(ctx context.Context) (err error) SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses
context.Background() as the context.(*WANIPConnection1) SetAutoDisconnectTimeCtx(ctx context.Context, NewAutoDisconnectTime uint32) (err error) SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses
context.Background() as the context.(*WANIPConnection1) SetConnectionTypeCtx(ctx context.Context, NewConnectionType string) (err error) SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses
context.Background() as the context.(*WANIPConnection1) SetIdleDisconnectTimeCtx(ctx context.Context, NewIdleDisconnectTime uint32) (err error) SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses
context.Background() as the context.(*WANIPConnection1) SetWarnDisconnectDelayCtx(ctx context.Context, NewWarnDisconnectDelay uint32) (err error)
func NewWANIPConnection1Clients() (clients []*WANIPConnection1, errors []error, err error)
func NewWANIPConnection1ClientsByURL(loc *url.URL) ([]*WANIPConnection1, error)
func NewWANIPConnection1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*WANIPConnection1, error)
func NewWANIPConnection1ClientsCtx(ctx context.Context) (clients []*WANIPConnection1, errors []error, err error)
func NewWANIPConnection1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*WANIPConnection1, error)
WANIPConnection2 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANIPConnection:2". See
goupnp.ServiceClient, which contains RootDevice and Service attributes which
are provided for informational value.ServiceClientgoupnp.ServiceClientServiceClient.Location*url.URLServiceClient.RootDevice*goupnp.RootDeviceServiceClient.SOAPClient*soap.SOAPClientServiceClient.Service*goupnp.Service AddAnyPortMapping is the legacy version of AddAnyPortMappingCtx, but uses
context.Background() as the context.(*WANIPConnection2) AddAnyPortMappingCtx(ctx context.Context, NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32) (NewReservedPort uint16, err error) AddPortMapping is the legacy version of AddPortMappingCtx, but uses
context.Background() as the context.(*WANIPConnection2) AddPortMappingCtx(ctx context.Context, NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32) (err error) DeletePortMapping is the legacy version of DeletePortMappingCtx, but uses
context.Background() as the context.(*WANIPConnection2) DeletePortMappingCtx(ctx context.Context, NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (err error) DeletePortMappingRange is the legacy version of DeletePortMappingRangeCtx, but uses
context.Background() as the context.(*WANIPConnection2) DeletePortMappingRangeCtx(ctx context.Context, NewStartPort uint16, NewEndPort uint16, NewProtocol string, NewManage bool) (err error) ForceTermination is the legacy version of ForceTerminationCtx, but uses
context.Background() as the context.(*WANIPConnection2) ForceTerminationCtx(ctx context.Context) (err error) GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses
context.Background() as the context.(*WANIPConnection2) GetAutoDisconnectTimeCtx(ctx context.Context) (NewAutoDisconnectTime uint32, err error) GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses
context.Background() as the context.(*WANIPConnection2) GetConnectionTypeInfoCtx(ctx context.Context) (NewConnectionType string, NewPossibleConnectionTypes string, err error) GetExternalIPAddress is the legacy version of GetExternalIPAddressCtx, but uses
context.Background() as the context.(*WANIPConnection2) GetExternalIPAddressCtx(ctx context.Context) (NewExternalIPAddress string, err error) GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses
context.Background() as the context. Return values:
* NewProtocol: allowed values: TCP, UDP GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses
context.Background() as the context.(*WANIPConnection2) GetIdleDisconnectTimeCtx(ctx context.Context) (NewIdleDisconnectTime uint32, err error) GetListOfPortMappings is the legacy version of GetListOfPortMappingsCtx, but uses
context.Background() as the context.(*WANIPConnection2) GetListOfPortMappingsCtx(ctx context.Context, NewStartPort uint16, NewEndPort uint16, NewProtocol string, NewManage bool, NewNumberOfPorts uint16) (NewPortListing string, err error) GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses
context.Background() as the context.(*WANIPConnection2) GetNATRSIPStatusCtx(ctx context.Context) (NewRSIPAvailable bool, NewNATEnabled bool, err error) GetServiceClient returns the ServiceClient itself. This is provided so that the
service client attributes can be accessed via an interface method on a
wrapping type. GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses
context.Background() as the context.(*WANIPConnection2) GetSpecificPortMappingEntryCtx(ctx context.Context, NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses
context.Background() as the context. Return values:
* NewConnectionStatus: allowed values: Unconfigured, Connecting, Connected, PendingDisconnect, Disconnecting, Disconnected
* NewLastConnectionError: allowed values: ERROR_NONE, ERROR_COMMAND_ABORTED, ERROR_NOT_ENABLED_FOR_INTERNET, ERROR_USER_DISCONNECT, ERROR_ISP_DISCONNECT, ERROR_IDLE_DISCONNECT, ERROR_FORCED_DISCONNECT, ERROR_NO_CARRIER, ERROR_IP_CONFIGURATION, ERROR_UNKNOWN GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses
context.Background() as the context.(*WANIPConnection2) GetWarnDisconnectDelayCtx(ctx context.Context) (NewWarnDisconnectDelay uint32, err error) LocalAddr returns the address from which the device was discovered (if known - otherwise empty). RequestConnection is the legacy version of RequestConnectionCtx, but uses
context.Background() as the context.(*WANIPConnection2) RequestConnectionCtx(ctx context.Context) (err error) RequestTermination is the legacy version of RequestTerminationCtx, but uses
context.Background() as the context.(*WANIPConnection2) RequestTerminationCtx(ctx context.Context) (err error) SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses
context.Background() as the context.(*WANIPConnection2) SetAutoDisconnectTimeCtx(ctx context.Context, NewAutoDisconnectTime uint32) (err error) SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses
context.Background() as the context.(*WANIPConnection2) SetConnectionTypeCtx(ctx context.Context, NewConnectionType string) (err error) SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses
context.Background() as the context.(*WANIPConnection2) SetIdleDisconnectTimeCtx(ctx context.Context, NewIdleDisconnectTime uint32) (err error) SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses
context.Background() as the context.(*WANIPConnection2) SetWarnDisconnectDelayCtx(ctx context.Context, NewWarnDisconnectDelay uint32) (err error)
func NewWANIPConnection2Clients() (clients []*WANIPConnection2, errors []error, err error)
func NewWANIPConnection2ClientsByURL(loc *url.URL) ([]*WANIPConnection2, error)
func NewWANIPConnection2ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*WANIPConnection2, error)
func NewWANIPConnection2ClientsCtx(ctx context.Context) (clients []*WANIPConnection2, errors []error, err error)
func NewWANIPConnection2ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*WANIPConnection2, error)
WANPPPConnection1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANPPPConnection:1". See
goupnp.ServiceClient, which contains RootDevice and Service attributes which
are provided for informational value.ServiceClientgoupnp.ServiceClientServiceClient.Location*url.URLServiceClient.RootDevice*goupnp.RootDeviceServiceClient.SOAPClient*soap.SOAPClientServiceClient.Service*goupnp.Service AddPortMapping is the legacy version of AddPortMappingCtx, but uses
context.Background() as the context.(*WANPPPConnection1) AddPortMappingCtx(ctx context.Context, NewRemoteHost string, NewExternalPort uint16, NewProtocol string, NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32) (err error) ConfigureConnection is the legacy version of ConfigureConnectionCtx, but uses
context.Background() as the context.(*WANPPPConnection1) ConfigureConnectionCtx(ctx context.Context, NewUserName string, NewPassword string) (err error) DeletePortMapping is the legacy version of DeletePortMappingCtx, but uses
context.Background() as the context.(*WANPPPConnection1) DeletePortMappingCtx(ctx context.Context, NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (err error) ForceTermination is the legacy version of ForceTerminationCtx, but uses
context.Background() as the context.(*WANPPPConnection1) ForceTerminationCtx(ctx context.Context) (err error) GetAutoDisconnectTime is the legacy version of GetAutoDisconnectTimeCtx, but uses
context.Background() as the context.(*WANPPPConnection1) GetAutoDisconnectTimeCtx(ctx context.Context) (NewAutoDisconnectTime uint32, err error) GetConnectionTypeInfo is the legacy version of GetConnectionTypeInfoCtx, but uses
context.Background() as the context. Return values:
* NewPossibleConnectionTypes: allowed values: Unconfigured, IP_Routed, DHCP_Spoofed, PPPoE_Bridged, PPTP_Relay, L2TP_Relay, PPPoE_Relay GetExternalIPAddress is the legacy version of GetExternalIPAddressCtx, but uses
context.Background() as the context.(*WANPPPConnection1) GetExternalIPAddressCtx(ctx context.Context) (NewExternalIPAddress string, err error) GetGenericPortMappingEntry is the legacy version of GetGenericPortMappingEntryCtx, but uses
context.Background() as the context. Return values:
* NewProtocol: allowed values: TCP, UDP GetIdleDisconnectTime is the legacy version of GetIdleDisconnectTimeCtx, but uses
context.Background() as the context.(*WANPPPConnection1) GetIdleDisconnectTimeCtx(ctx context.Context) (NewIdleDisconnectTime uint32, err error) GetLinkLayerMaxBitRates is the legacy version of GetLinkLayerMaxBitRatesCtx, but uses
context.Background() as the context.(*WANPPPConnection1) GetLinkLayerMaxBitRatesCtx(ctx context.Context) (NewUpstreamMaxBitRate uint32, NewDownstreamMaxBitRate uint32, err error) GetNATRSIPStatus is the legacy version of GetNATRSIPStatusCtx, but uses
context.Background() as the context.(*WANPPPConnection1) GetNATRSIPStatusCtx(ctx context.Context) (NewRSIPAvailable bool, NewNATEnabled bool, err error) GetPPPAuthenticationProtocol is the legacy version of GetPPPAuthenticationProtocolCtx, but uses
context.Background() as the context.(*WANPPPConnection1) GetPPPAuthenticationProtocolCtx(ctx context.Context) (NewPPPAuthenticationProtocol string, err error) GetPPPCompressionProtocol is the legacy version of GetPPPCompressionProtocolCtx, but uses
context.Background() as the context.(*WANPPPConnection1) GetPPPCompressionProtocolCtx(ctx context.Context) (NewPPPCompressionProtocol string, err error) GetPPPEncryptionProtocol is the legacy version of GetPPPEncryptionProtocolCtx, but uses
context.Background() as the context.(*WANPPPConnection1) GetPPPEncryptionProtocolCtx(ctx context.Context) (NewPPPEncryptionProtocol string, err error) GetPassword is the legacy version of GetPasswordCtx, but uses
context.Background() as the context.(*WANPPPConnection1) GetPasswordCtx(ctx context.Context) (NewPassword string, err error) GetServiceClient returns the ServiceClient itself. This is provided so that the
service client attributes can be accessed via an interface method on a
wrapping type. GetSpecificPortMappingEntry is the legacy version of GetSpecificPortMappingEntryCtx, but uses
context.Background() as the context.(*WANPPPConnection1) GetSpecificPortMappingEntryCtx(ctx context.Context, NewRemoteHost string, NewExternalPort uint16, NewProtocol string) (NewInternalPort uint16, NewInternalClient string, NewEnabled bool, NewPortMappingDescription string, NewLeaseDuration uint32, err error) GetStatusInfo is the legacy version of GetStatusInfoCtx, but uses
context.Background() as the context. Return values:
* NewConnectionStatus: allowed values: Unconfigured, Connected, Disconnected
* NewLastConnectionError: allowed values: ERROR_NONE GetUserName is the legacy version of GetUserNameCtx, but uses
context.Background() as the context.(*WANPPPConnection1) GetUserNameCtx(ctx context.Context) (NewUserName string, err error) GetWarnDisconnectDelay is the legacy version of GetWarnDisconnectDelayCtx, but uses
context.Background() as the context.(*WANPPPConnection1) GetWarnDisconnectDelayCtx(ctx context.Context) (NewWarnDisconnectDelay uint32, err error) LocalAddr returns the address from which the device was discovered (if known - otherwise empty). RequestConnection is the legacy version of RequestConnectionCtx, but uses
context.Background() as the context.(*WANPPPConnection1) RequestConnectionCtx(ctx context.Context) (err error) RequestTermination is the legacy version of RequestTerminationCtx, but uses
context.Background() as the context.(*WANPPPConnection1) RequestTerminationCtx(ctx context.Context) (err error) SetAutoDisconnectTime is the legacy version of SetAutoDisconnectTimeCtx, but uses
context.Background() as the context.(*WANPPPConnection1) SetAutoDisconnectTimeCtx(ctx context.Context, NewAutoDisconnectTime uint32) (err error) SetConnectionType is the legacy version of SetConnectionTypeCtx, but uses
context.Background() as the context.(*WANPPPConnection1) SetConnectionTypeCtx(ctx context.Context, NewConnectionType string) (err error) SetIdleDisconnectTime is the legacy version of SetIdleDisconnectTimeCtx, but uses
context.Background() as the context.(*WANPPPConnection1) SetIdleDisconnectTimeCtx(ctx context.Context, NewIdleDisconnectTime uint32) (err error) SetWarnDisconnectDelay is the legacy version of SetWarnDisconnectDelayCtx, but uses
context.Background() as the context.(*WANPPPConnection1) SetWarnDisconnectDelayCtx(ctx context.Context, NewWarnDisconnectDelay uint32) (err error)
func NewWANPPPConnection1Clients() (clients []*WANPPPConnection1, errors []error, err error)
func NewWANPPPConnection1ClientsByURL(loc *url.URL) ([]*WANPPPConnection1, error)
func NewWANPPPConnection1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*WANPPPConnection1, error)
func NewWANPPPConnection1ClientsCtx(ctx context.Context) (clients []*WANPPPConnection1, errors []error, err error)
func NewWANPPPConnection1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*WANPPPConnection1, error)
Package-Level Functions (total 60)
NewDeviceProtection1Clients is the legacy version of NewDeviceProtection1ClientsCtx, but uses
context.Background() as the context.
NewDeviceProtection1ClientsByURL is the legacy version of NewDeviceProtection1ClientsByURLCtx, but uses
context.Background() as the context.
NewDeviceProtection1ClientsByURLCtx discovers instances of the service at the given
URL, and returns clients to any that are found. An error is returned if
there was an error probing the service.
This is a typical entry calling point into this package when reusing an
previously discovered service URL.
NewDeviceProtection1ClientsCtx discovers instances of the service on the network,
and returns clients to any that are found. errors will contain an error for
any devices that replied but which could not be queried, and err will be set
if the discovery process failed outright.
This is a typical entry calling point into this package.
NewDeviceProtection1ClientsFromRootDevice discovers instances of the service in
a given root device, and returns clients to any that are found. An error is
returned if there was not at least one instance of the service within the
device. The location parameter is simply assigned to the Location attribute
of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an
previously discovered root device.
NewLANHostConfigManagement1Clients is the legacy version of NewLANHostConfigManagement1ClientsCtx, but uses
context.Background() as the context.
NewLANHostConfigManagement1ClientsByURL is the legacy version of NewLANHostConfigManagement1ClientsByURLCtx, but uses
context.Background() as the context.
NewLANHostConfigManagement1ClientsByURLCtx discovers instances of the service at the given
URL, and returns clients to any that are found. An error is returned if
there was an error probing the service.
This is a typical entry calling point into this package when reusing an
previously discovered service URL.
NewLANHostConfigManagement1ClientsCtx discovers instances of the service on the network,
and returns clients to any that are found. errors will contain an error for
any devices that replied but which could not be queried, and err will be set
if the discovery process failed outright.
This is a typical entry calling point into this package.
NewLANHostConfigManagement1ClientsFromRootDevice discovers instances of the service in
a given root device, and returns clients to any that are found. An error is
returned if there was not at least one instance of the service within the
device. The location parameter is simply assigned to the Location attribute
of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an
previously discovered root device.
NewLayer3Forwarding1Clients is the legacy version of NewLayer3Forwarding1ClientsCtx, but uses
context.Background() as the context.
NewLayer3Forwarding1ClientsByURL is the legacy version of NewLayer3Forwarding1ClientsByURLCtx, but uses
context.Background() as the context.
NewLayer3Forwarding1ClientsByURLCtx discovers instances of the service at the given
URL, and returns clients to any that are found. An error is returned if
there was an error probing the service.
This is a typical entry calling point into this package when reusing an
previously discovered service URL.
NewLayer3Forwarding1ClientsCtx discovers instances of the service on the network,
and returns clients to any that are found. errors will contain an error for
any devices that replied but which could not be queried, and err will be set
if the discovery process failed outright.
This is a typical entry calling point into this package.
NewLayer3Forwarding1ClientsFromRootDevice discovers instances of the service in
a given root device, and returns clients to any that are found. An error is
returned if there was not at least one instance of the service within the
device. The location parameter is simply assigned to the Location attribute
of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an
previously discovered root device.
NewWANCableLinkConfig1Clients is the legacy version of NewWANCableLinkConfig1ClientsCtx, but uses
context.Background() as the context.
NewWANCableLinkConfig1ClientsByURL is the legacy version of NewWANCableLinkConfig1ClientsByURLCtx, but uses
context.Background() as the context.
NewWANCableLinkConfig1ClientsByURLCtx discovers instances of the service at the given
URL, and returns clients to any that are found. An error is returned if
there was an error probing the service.
This is a typical entry calling point into this package when reusing an
previously discovered service URL.
NewWANCableLinkConfig1ClientsCtx discovers instances of the service on the network,
and returns clients to any that are found. errors will contain an error for
any devices that replied but which could not be queried, and err will be set
if the discovery process failed outright.
This is a typical entry calling point into this package.
NewWANCableLinkConfig1ClientsFromRootDevice discovers instances of the service in
a given root device, and returns clients to any that are found. An error is
returned if there was not at least one instance of the service within the
device. The location parameter is simply assigned to the Location attribute
of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an
previously discovered root device.
NewWANCommonInterfaceConfig1Clients is the legacy version of NewWANCommonInterfaceConfig1ClientsCtx, but uses
context.Background() as the context.
NewWANCommonInterfaceConfig1ClientsByURL is the legacy version of NewWANCommonInterfaceConfig1ClientsByURLCtx, but uses
context.Background() as the context.
NewWANCommonInterfaceConfig1ClientsByURLCtx discovers instances of the service at the given
URL, and returns clients to any that are found. An error is returned if
there was an error probing the service.
This is a typical entry calling point into this package when reusing an
previously discovered service URL.
NewWANCommonInterfaceConfig1ClientsCtx discovers instances of the service on the network,
and returns clients to any that are found. errors will contain an error for
any devices that replied but which could not be queried, and err will be set
if the discovery process failed outright.
This is a typical entry calling point into this package.
NewWANCommonInterfaceConfig1ClientsFromRootDevice discovers instances of the service in
a given root device, and returns clients to any that are found. An error is
returned if there was not at least one instance of the service within the
device. The location parameter is simply assigned to the Location attribute
of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an
previously discovered root device.
NewWANDSLLinkConfig1Clients is the legacy version of NewWANDSLLinkConfig1ClientsCtx, but uses
context.Background() as the context.
NewWANDSLLinkConfig1ClientsByURL is the legacy version of NewWANDSLLinkConfig1ClientsByURLCtx, but uses
context.Background() as the context.
NewWANDSLLinkConfig1ClientsByURLCtx discovers instances of the service at the given
URL, and returns clients to any that are found. An error is returned if
there was an error probing the service.
This is a typical entry calling point into this package when reusing an
previously discovered service URL.
NewWANDSLLinkConfig1ClientsCtx discovers instances of the service on the network,
and returns clients to any that are found. errors will contain an error for
any devices that replied but which could not be queried, and err will be set
if the discovery process failed outright.
This is a typical entry calling point into this package.
NewWANDSLLinkConfig1ClientsFromRootDevice discovers instances of the service in
a given root device, and returns clients to any that are found. An error is
returned if there was not at least one instance of the service within the
device. The location parameter is simply assigned to the Location attribute
of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an
previously discovered root device.
NewWANEthernetLinkConfig1Clients is the legacy version of NewWANEthernetLinkConfig1ClientsCtx, but uses
context.Background() as the context.
NewWANEthernetLinkConfig1ClientsByURL is the legacy version of NewWANEthernetLinkConfig1ClientsByURLCtx, but uses
context.Background() as the context.
NewWANEthernetLinkConfig1ClientsByURLCtx discovers instances of the service at the given
URL, and returns clients to any that are found. An error is returned if
there was an error probing the service.
This is a typical entry calling point into this package when reusing an
previously discovered service URL.
NewWANEthernetLinkConfig1ClientsCtx discovers instances of the service on the network,
and returns clients to any that are found. errors will contain an error for
any devices that replied but which could not be queried, and err will be set
if the discovery process failed outright.
This is a typical entry calling point into this package.
NewWANEthernetLinkConfig1ClientsFromRootDevice discovers instances of the service in
a given root device, and returns clients to any that are found. An error is
returned if there was not at least one instance of the service within the
device. The location parameter is simply assigned to the Location attribute
of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an
previously discovered root device.
NewWANIPConnection1Clients is the legacy version of NewWANIPConnection1ClientsCtx, but uses
context.Background() as the context.
NewWANIPConnection1ClientsByURL is the legacy version of NewWANIPConnection1ClientsByURLCtx, but uses
context.Background() as the context.
NewWANIPConnection1ClientsByURLCtx discovers instances of the service at the given
URL, and returns clients to any that are found. An error is returned if
there was an error probing the service.
This is a typical entry calling point into this package when reusing an
previously discovered service URL.
NewWANIPConnection1ClientsCtx discovers instances of the service on the network,
and returns clients to any that are found. errors will contain an error for
any devices that replied but which could not be queried, and err will be set
if the discovery process failed outright.
This is a typical entry calling point into this package.
NewWANIPConnection1ClientsFromRootDevice discovers instances of the service in
a given root device, and returns clients to any that are found. An error is
returned if there was not at least one instance of the service within the
device. The location parameter is simply assigned to the Location attribute
of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an
previously discovered root device.
NewWANIPConnection2Clients is the legacy version of NewWANIPConnection2ClientsCtx, but uses
context.Background() as the context.
NewWANIPConnection2ClientsByURL is the legacy version of NewWANIPConnection2ClientsByURLCtx, but uses
context.Background() as the context.
NewWANIPConnection2ClientsByURLCtx discovers instances of the service at the given
URL, and returns clients to any that are found. An error is returned if
there was an error probing the service.
This is a typical entry calling point into this package when reusing an
previously discovered service URL.
NewWANIPConnection2ClientsCtx discovers instances of the service on the network,
and returns clients to any that are found. errors will contain an error for
any devices that replied but which could not be queried, and err will be set
if the discovery process failed outright.
This is a typical entry calling point into this package.
NewWANIPConnection2ClientsFromRootDevice discovers instances of the service in
a given root device, and returns clients to any that are found. An error is
returned if there was not at least one instance of the service within the
device. The location parameter is simply assigned to the Location attribute
of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an
previously discovered root device.
NewWANIPv6FirewallControl1Clients is the legacy version of NewWANIPv6FirewallControl1ClientsCtx, but uses
context.Background() as the context.
NewWANIPv6FirewallControl1ClientsByURL is the legacy version of NewWANIPv6FirewallControl1ClientsByURLCtx, but uses
context.Background() as the context.
NewWANIPv6FirewallControl1ClientsByURLCtx discovers instances of the service at the given
URL, and returns clients to any that are found. An error is returned if
there was an error probing the service.
This is a typical entry calling point into this package when reusing an
previously discovered service URL.
NewWANIPv6FirewallControl1ClientsCtx discovers instances of the service on the network,
and returns clients to any that are found. errors will contain an error for
any devices that replied but which could not be queried, and err will be set
if the discovery process failed outright.
This is a typical entry calling point into this package.
NewWANIPv6FirewallControl1ClientsFromRootDevice discovers instances of the service in
a given root device, and returns clients to any that are found. An error is
returned if there was not at least one instance of the service within the
device. The location parameter is simply assigned to the Location attribute
of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an
previously discovered root device.
NewWANPOTSLinkConfig1Clients is the legacy version of NewWANPOTSLinkConfig1ClientsCtx, but uses
context.Background() as the context.
NewWANPOTSLinkConfig1ClientsByURL is the legacy version of NewWANPOTSLinkConfig1ClientsByURLCtx, but uses
context.Background() as the context.
NewWANPOTSLinkConfig1ClientsByURLCtx discovers instances of the service at the given
URL, and returns clients to any that are found. An error is returned if
there was an error probing the service.
This is a typical entry calling point into this package when reusing an
previously discovered service URL.
NewWANPOTSLinkConfig1ClientsCtx discovers instances of the service on the network,
and returns clients to any that are found. errors will contain an error for
any devices that replied but which could not be queried, and err will be set
if the discovery process failed outright.
This is a typical entry calling point into this package.
NewWANPOTSLinkConfig1ClientsFromRootDevice discovers instances of the service in
a given root device, and returns clients to any that are found. An error is
returned if there was not at least one instance of the service within the
device. The location parameter is simply assigned to the Location attribute
of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an
previously discovered root device.
NewWANPPPConnection1Clients is the legacy version of NewWANPPPConnection1ClientsCtx, but uses
context.Background() as the context.
NewWANPPPConnection1ClientsByURL is the legacy version of NewWANPPPConnection1ClientsByURLCtx, but uses
context.Background() as the context.
NewWANPPPConnection1ClientsByURLCtx discovers instances of the service at the given
URL, and returns clients to any that are found. An error is returned if
there was an error probing the service.
This is a typical entry calling point into this package when reusing an
previously discovered service URL.
NewWANPPPConnection1ClientsCtx discovers instances of the service on the network,
and returns clients to any that are found. errors will contain an error for
any devices that replied but which could not be queried, and err will be set
if the discovery process failed outright.
This is a typical entry calling point into this package.
NewWANPPPConnection1ClientsFromRootDevice discovers instances of the service in
a given root device, and returns clients to any that are found. An error is
returned if there was not at least one instance of the service within the
device. The location parameter is simply assigned to the Location attribute
of the wrapped ServiceClient(s).
This is a typical entry calling point into this package when reusing an
previously discovered root device.
Package-Level Constants (total 17)
Service URNs:
Device URNs:
Service URNs:
Service URNs:
Service URNs:
Service URNs:
Device URNs:
Device URNs:
Device URNs:
Device URNs:
Service URNs:
Service URNs:
Service URNs:
Service URNs:
Service URNs:
Service URNs:
Service URNs:
The pages are generated with Goldsv0.8.2. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds.