Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCachedDnsItem ¶
Types ¶
type Config ¶
type Config struct { Dns DnsDistribution RuleEngine *ruleEngine.Engine // contains filtered or unexported fields }
func (Config) GetDns ¶
func (c Config) GetDns(domain string) SubDnsDistribution
func (Config) GetDnsServerRule ¶
type DnsDistribution ¶
type DnsDistribution struct { Local SubDnsDistribution Remote SubDnsDistribution Boost SubDnsDistribution }
func NewDnsDistribution ¶
type MatcherList ¶
Click to show internal directories.
Click to hide internal directories.