Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithClient ¶
func WithServer ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SetZoneResolver ¶
func (v *Client) SetZoneResolver(r ZoneResolver)
type HandlerDNS ¶
func DefaultExchanger ¶
func DefaultExchanger(dns ...string) HandlerDNS
type Option ¶
func OptionNetDOT ¶
func OptionNetDOT() Option
func OptionNetTCP ¶
func OptionNetTCP() Option
func OptionNetUDP ¶
func OptionNetUDP() Option
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) HandleFunc ¶
func (v *Server) HandleFunc(r HandlerDNS)
type ZoneResolve ¶
type ZoneResolve struct {
// contains filtered or unexported fields
}
func NewSimpleZoneResolve ¶
func NewSimpleZoneResolve(dns ...string) *ZoneResolve
func (*ZoneResolve) Resolve ¶
func (v *ZoneResolve) Resolve(name string) []string
type ZoneResolver ¶
Click to show internal directories.
Click to hide internal directories.