Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DomainResolver ¶
type DomainResolver struct {
// contains filtered or unexported fields
}
func NewDomainResolver ¶
func NewDomainResolver(dnsAddrress string, ttl int, log *logger.Logger) DomainResolver
func (*DomainResolver) DnsAddress ¶
func (a *DomainResolver) DnsAddress() (address string)
func (*DomainResolver) MustResolve ¶
func (a *DomainResolver) MustResolve(address string) (ip string)
func (*DomainResolver) PrintData ¶
func (a *DomainResolver) PrintData()
type DomainResolverItem ¶
type DomainResolverItem struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.