mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-07-30 01:22:38 -04:00
- Only calls DNS API(s) once the public IP address changes - Only one ip method per ip version (ipv4, ipv6, ipv4/v6) - Gets the ip address once every period for all records - More object oriented coding instead of functional - Support to update ipv4 and ipv6 records separately, for supported DNS providers
20 lines
440 B
Go
20 lines
440 B
Go
package models
|
|
|
|
// HTMLData is a list of HTML fields to be rendered.
|
|
// It is exported so that the HTML template engine can render it.
|
|
type HTMLData struct {
|
|
Rows []HTMLRow
|
|
}
|
|
|
|
// HTMLRow contains HTML fields to be rendered
|
|
// It is exported so that the HTML template engine can render it.
|
|
type HTMLRow struct {
|
|
Domain HTML
|
|
Host HTML
|
|
Provider HTML
|
|
IPVersion HTML
|
|
Status HTML
|
|
CurrentIP HTML
|
|
PreviousIPs HTML
|
|
}
|