Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultResolver = &Resolver{Backend: net.DefaultResolver}
View Source
var Dns4Protocol = ma.Protocol{ Code: 54, Size: ma.LengthPrefixedVarSize, Name: "dns4", VCode: ma.CodeToVarint(54), Transcoder: DnsTranscoder, }
View Source
var Dns6Protocol = ma.Protocol{ Code: 55, Size: ma.LengthPrefixedVarSize, Name: "dns6", VCode: ma.CodeToVarint(55), Transcoder: DnsTranscoder, }
View Source
var DnsTranscoder = ma.NewTranscoderFromFunctions(dnsStB, dnsBtS, dnsVal)
View Source
var DnsaddrProtocol = ma.Protocol{ Code: 56, Size: ma.LengthPrefixedVarSize, Name: "dnsaddr", VCode: ma.CodeToVarint(56), Transcoder: DnsTranscoder, }
View Source
var ResolvableProtocols = []ma.Protocol{DnsaddrProtocol, Dns4Protocol, Dns6Protocol}
Functions ¶
Types ¶
type MockBackend ¶
func (*MockBackend) LookupIPAddr ¶
Click to show internal directories.
Click to hide internal directories.