Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByPriority ¶
type ByPriority []Server
func (ByPriority) Len ¶
func (servers ByPriority) Len() int
func (ByPriority) Less ¶
func (servers ByPriority) Less(i, j int) bool
func (ByPriority) Swap ¶
func (servers ByPriority) Swap(i, j int)
type Domain ¶
type Domain struct {
// contains filtered or unexported fields
}
type DomainListing ¶
type DomainListing struct {
// contains filtered or unexported fields
}
func (*DomainListing) Add ¶
func (domainListing *DomainListing) Add(name string) (domain *Domain)
func (*DomainListing) Delete ¶
func (domainListing *DomainListing) Delete(name string)
func (*DomainListing) Get ¶
func (domainListing *DomainListing) Get(name string) *Domain
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func (*Pool) GetClientTimeout ¶
func (*Pool) NumUpstreams ¶
func (*Pool) ServerIter ¶
func (pool *Pool) ServerIter() (serverChan chan ServerIter, successChan chan ServerSuccess)
type Query ¶
type Query struct { Message dns.Msg ResolveChan chan<- *MessageResult }
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func (*Resolver) Add ¶
func (poolResolver *Resolver) Add(resolver chan<- *MessageResult)
type ServerIter ¶
type ServerSuccess ¶
Click to show internal directories.
Click to hide internal directories.