Files
ddns-updater/internal/models/alias.go
Quentin McGaw c23998bd09 Refactoring (#63)
- 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
2020-05-29 20:38:01 -04:00

13 lines
236 B
Go

package models
type (
// Provider is a possible DNS provider
Provider string
// Status is the record config status
Status string
// HTML is for constants HTML strings
HTML string
// IPVersion is ipv4 or ipv6
IPVersion string
)