example
example code
Structs
ServiceParameter
This struct implements DDNS.ServiceParameter
and DeviceOverridable
interfaces. It contains the following fields:
Token
: the token used to authenticate with the DDNS provider.Domain
: the domain name to update.SubDomain
: the subdomain to update.RecordID
: the record ID to update.IpToSet
: the IP address to set.Type
: the record type to update....
:any other parameters.
Request
This struct implements DDNS.Request
interface. It contains the following fields:
Parameter
(ServiceParameter): the service parameters.status
(DDNS.Status): the status of the request.
Config
This struct implements DDNS.Config
interface. It contains the following fields:
None
ConfigFactory
This struct implements DDNS.ConfigFactory
interface. It contains the following fields:
None
最后更新于
这有帮助吗?