Documentation ¶
Index ¶
Constants ¶
View Source
const LogFormatJson = "json"
View Source
const LogFormatSimple = "simple"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainRecord ¶
type DomainRecord struct { Name string `yaml:"name" label:"dockdns.name"` IP4 string `yaml:"a" label:"dockdns.a"` IP6 string `yaml:"aaaa" label:"dockdns.aaaa"` TTL int `yaml:"ttl" label:"dockdns.ttl"` Proxied bool `yaml:"proxied" label:"dockdns.proxied"` }
func (DomainRecord) GetIP ¶
func (d DomainRecord) GetIP(recordType string) string
type Domains ¶
type Domains []DomainRecord
Click to show internal directories.
Click to hide internal directories.