Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Site ¶
type Site struct { // The identifier of the zone the site belongs to. Zone *Zone // The identifier of the DNS. Dns_id string // The name of the site, in the form "<subdomain>.<domain>". Name string `yaml:"name"` // The content of the DNS record. Content string `yaml:"content"` // The record type of the DNS record. Record string `yaml:"record"` // Whether or not the DNS record should be proxied by CloudFlare. Is_proxied bool `yaml:"proxy"` // The TTL of the DNS record. Ttl int `yaml:"ttl"` // The subdomains of this DNS record. Subdomains []Site `yaml:"subs"` Is_initalized bool }
The internal representation of a site.
Click to show internal directories.
Click to hide internal directories.