package internetgateway1

Import Path
	github.com/huin/goupnp/dcps/internetgateway1 (on go.dev)

Dependency Relation
	imports 5 packages, and imported by one package

Involved Source Files gen.go Client for UPnP Device Control Protocol Internet Gateway Device v1. This DCP is documented in detail at: - http://upnp.org/specs/gw/UPnP-gw-InternetGatewayDevice-v1-Device.pdf Typically, use one of the New* functions to create clients for services.
Package-Level Type Names (total 9)
/* sort by: | */
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. ServiceClient goupnp.ServiceClient ServiceClient.Location *url.URL ServiceClient.RootDevice *goupnp.RootDevice ServiceClient.SOAPClient *soap.SOAPClient ServiceClient.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)
Layer3Forwarding1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:Layer3Forwarding:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value. ServiceClient goupnp.ServiceClient ServiceClient.Location *url.URL ServiceClient.RootDevice *goupnp.RootDevice ServiceClient.SOAPClient *soap.SOAPClient ServiceClient.Service *goupnp.Service GetDefaultConnectionService is the legacy version of GetDefaultConnectionServiceCtx, but uses context.Background() as the context. (*Layer3Forwarding1) GetDefaultConnectionServiceCtx(ctx context.Context) (NewDefaultConnectionService 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. LocalAddr returns the address from which the device was discovered (if known - otherwise empty). SetDefaultConnectionService is the legacy version of SetDefaultConnectionServiceCtx, but uses context.Background() as the context. (*Layer3Forwarding1) SetDefaultConnectionServiceCtx(ctx context.Context, NewDefaultConnectionService string) (err error) func NewLayer3Forwarding1Clients() (clients []*Layer3Forwarding1, errors []error, err error) func NewLayer3Forwarding1ClientsByURL(loc *url.URL) ([]*Layer3Forwarding1, error) func NewLayer3Forwarding1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*Layer3Forwarding1, error) func NewLayer3Forwarding1ClientsCtx(ctx context.Context) (clients []*Layer3Forwarding1, errors []error, err error) func NewLayer3Forwarding1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*Layer3Forwarding1, 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. ServiceClient goupnp.ServiceClient ServiceClient.Location *url.URL ServiceClient.RootDevice *goupnp.RootDevice ServiceClient.SOAPClient *soap.SOAPClient ServiceClient.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. ServiceClient goupnp.ServiceClient ServiceClient.Location *url.URL ServiceClient.RootDevice *goupnp.RootDevice ServiceClient.SOAPClient *soap.SOAPClient ServiceClient.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)
WANDSLLinkConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANDSLLinkConfig:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value. ServiceClient goupnp.ServiceClient ServiceClient.Location *url.URL ServiceClient.RootDevice *goupnp.RootDevice ServiceClient.SOAPClient *soap.SOAPClient ServiceClient.Service *goupnp.Service GetATMEncapsulation is the legacy version of GetATMEncapsulationCtx, but uses context.Background() as the context. (*WANDSLLinkConfig1) GetATMEncapsulationCtx(ctx context.Context) (NewATMEncapsulation string, err error) GetAutoConfig is the legacy version of GetAutoConfigCtx, but uses context.Background() as the context. (*WANDSLLinkConfig1) GetAutoConfigCtx(ctx context.Context) (NewAutoConfig bool, err error) GetDSLLinkInfo is the legacy version of GetDSLLinkInfoCtx, but uses context.Background() as the context. Return values: * NewLinkStatus: allowed values: Up, Down GetDestinationAddress is the legacy version of GetDestinationAddressCtx, but uses context.Background() as the context. (*WANDSLLinkConfig1) GetDestinationAddressCtx(ctx context.Context) (NewDestinationAddress string, err error) GetFCSPreserved is the legacy version of GetFCSPreservedCtx, but uses context.Background() as the context. (*WANDSLLinkConfig1) GetFCSPreservedCtx(ctx context.Context) (NewFCSPreserved bool, err error) GetModulationType is the legacy version of GetModulationTypeCtx, but uses context.Background() as the context. (*WANDSLLinkConfig1) GetModulationTypeCtx(ctx context.Context) (NewModulationType 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. LocalAddr returns the address from which the device was discovered (if known - otherwise empty). SetATMEncapsulation is the legacy version of SetATMEncapsulationCtx, but uses context.Background() as the context. (*WANDSLLinkConfig1) SetATMEncapsulationCtx(ctx context.Context, NewATMEncapsulation string) (err error) SetDSLLinkType is the legacy version of SetDSLLinkTypeCtx, but uses context.Background() as the context. (*WANDSLLinkConfig1) SetDSLLinkTypeCtx(ctx context.Context, NewLinkType string) (err error) SetDestinationAddress is the legacy version of SetDestinationAddressCtx, but uses context.Background() as the context. (*WANDSLLinkConfig1) SetDestinationAddressCtx(ctx context.Context, NewDestinationAddress string) (err error) SetFCSPreserved is the legacy version of SetFCSPreservedCtx, but uses context.Background() as the context. (*WANDSLLinkConfig1) SetFCSPreservedCtx(ctx context.Context, NewFCSPreserved bool) (err error) func NewWANDSLLinkConfig1Clients() (clients []*WANDSLLinkConfig1, errors []error, err error) func NewWANDSLLinkConfig1ClientsByURL(loc *url.URL) ([]*WANDSLLinkConfig1, error) func NewWANDSLLinkConfig1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*WANDSLLinkConfig1, error) func NewWANDSLLinkConfig1ClientsCtx(ctx context.Context) (clients []*WANDSLLinkConfig1, errors []error, err error) func NewWANDSLLinkConfig1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*WANDSLLinkConfig1, error)
WANEthernetLinkConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANEthernetLinkConfig:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value. ServiceClient goupnp.ServiceClient ServiceClient.Location *url.URL ServiceClient.RootDevice *goupnp.RootDevice ServiceClient.SOAPClient *soap.SOAPClient ServiceClient.Service *goupnp.Service GetEthernetLinkStatus is the legacy version of GetEthernetLinkStatusCtx, but uses context.Background() as the context. Return values: * NewEthernetLinkStatus: allowed values: Up, Down 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. LocalAddr returns the address from which the device was discovered (if known - otherwise empty). func NewWANEthernetLinkConfig1Clients() (clients []*WANEthernetLinkConfig1, errors []error, err error) func NewWANEthernetLinkConfig1ClientsByURL(loc *url.URL) ([]*WANEthernetLinkConfig1, error) func NewWANEthernetLinkConfig1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*WANEthernetLinkConfig1, error) func NewWANEthernetLinkConfig1ClientsCtx(ctx context.Context) (clients []*WANEthernetLinkConfig1, errors []error, err error) func NewWANEthernetLinkConfig1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*WANEthernetLinkConfig1, 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. ServiceClient goupnp.ServiceClient ServiceClient.Location *url.URL ServiceClient.RootDevice *goupnp.RootDevice ServiceClient.SOAPClient *soap.SOAPClient ServiceClient.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)
WANPOTSLinkConfig1 is a client for UPnP SOAP service with URN "urn:schemas-upnp-org:service:WANPOTSLinkConfig:1". See goupnp.ServiceClient, which contains RootDevice and Service attributes which are provided for informational value. ServiceClient goupnp.ServiceClient ServiceClient.Location *url.URL ServiceClient.RootDevice *goupnp.RootDevice ServiceClient.SOAPClient *soap.SOAPClient ServiceClient.Service *goupnp.Service GetCallRetryInfo is the legacy version of GetCallRetryInfoCtx, but uses context.Background() as the context. (*WANPOTSLinkConfig1) GetCallRetryInfoCtx(ctx context.Context) (NewNumberOfRetries uint32, NewDelayBetweenRetries uint32, err error) GetDataCompression is the legacy version of GetDataCompressionCtx, but uses context.Background() as the context. (*WANPOTSLinkConfig1) GetDataCompressionCtx(ctx context.Context) (NewDataCompression string, err error) GetDataModulationSupported is the legacy version of GetDataModulationSupportedCtx, but uses context.Background() as the context. (*WANPOTSLinkConfig1) GetDataModulationSupportedCtx(ctx context.Context) (NewDataModulationSupported string, err error) GetDataProtocol is the legacy version of GetDataProtocolCtx, but uses context.Background() as the context. (*WANPOTSLinkConfig1) GetDataProtocolCtx(ctx context.Context) (NewDataProtocol string, err error) GetFclass is the legacy version of GetFclassCtx, but uses context.Background() as the context. (*WANPOTSLinkConfig1) GetFclassCtx(ctx context.Context) (NewFclass string, err error) GetISPInfo is the legacy version of GetISPInfoCtx, but uses context.Background() as the context. Return values: * NewLinkType: allowed values: PPP_Dialup GetPlusVTRCommandSupported is the legacy version of GetPlusVTRCommandSupportedCtx, but uses context.Background() as the context. (*WANPOTSLinkConfig1) GetPlusVTRCommandSupportedCtx(ctx context.Context) (NewPlusVTRCommandSupported 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. LocalAddr returns the address from which the device was discovered (if known - otherwise empty). SetCallRetryInfo is the legacy version of SetCallRetryInfoCtx, but uses context.Background() as the context. (*WANPOTSLinkConfig1) SetCallRetryInfoCtx(ctx context.Context, NewNumberOfRetries uint32, NewDelayBetweenRetries uint32) (err error) SetISPInfo is the legacy version of SetISPInfoCtx, but uses context.Background() as the context. (*WANPOTSLinkConfig1) SetISPInfoCtx(ctx context.Context, NewISPPhoneNumber string, NewISPInfo string, NewLinkType string) (err error) func NewWANPOTSLinkConfig1Clients() (clients []*WANPOTSLinkConfig1, errors []error, err error) func NewWANPOTSLinkConfig1ClientsByURL(loc *url.URL) ([]*WANPOTSLinkConfig1, error) func NewWANPOTSLinkConfig1ClientsByURLCtx(ctx context.Context, loc *url.URL) ([]*WANPOTSLinkConfig1, error) func NewWANPOTSLinkConfig1ClientsCtx(ctx context.Context) (clients []*WANPOTSLinkConfig1, errors []error, err error) func NewWANPOTSLinkConfig1ClientsFromRootDevice(rootDevice *goupnp.RootDevice, loc *url.URL) ([]*WANPOTSLinkConfig1, 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. ServiceClient goupnp.ServiceClient ServiceClient.Location *url.URL ServiceClient.RootDevice *goupnp.RootDevice ServiceClient.SOAPClient *soap.SOAPClient ServiceClient.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 45)
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.
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 12)
Device URNs:
Service URNs:
Service URNs:
Service URNs:
Service URNs:
Device URNs:
Device URNs:
Service URNs:
Service URNs:
Service URNs:
Service URNs:
Service URNs: