Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSConfig ¶
type DNSConfig struct { TTL int Proxied bool DNSName string ExternalIP string ZoneID string ZoneName string }
DNSConfig is used for configuring the DNS Record
func (*DNSConfig) GetExternalIP ¶
GetExternalIP fetches the external IP from the Internet and saves it
func (*DNSConfig) ToDNSRecord ¶
func (c *DNSConfig) ToDNSRecord() cloudflare.DNSRecord
ToDNSRecord creates a cloudflare.DNSRecord from the struct
Click to show internal directories.
Click to hide internal directories.