Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientConfig ¶
type ClientConfig interface {
Get() (*dns.ClientConfig, error)
}
type Lookup ¶
type Lookup interface { LookupSRV(name string) ([]net.SRV, error) LookupA(name string) (string, error) }
func NewClientConfigLookupLib ¶
func NewClientConfigLookupLib(cfg ClientConfig) (Lookup, error)
func NewDefaultLookupLib ¶
func NewLookupLib ¶
type ResolvConfClientConfig ¶
type ResolvConfClientConfig struct {
File string
}
func (*ResolvConfClientConfig) Get ¶
func (f *ResolvConfClientConfig) Get() (*dns.ClientConfig, error)
Click to show internal directories.
Click to hide internal directories.