Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIpv4Into ¶
func GetIpv6Into ¶
Types ¶
type BroadcastSendDelegate ¶
type BroadcastSendDelegate interface {
Accept(info EndpointInfo) *udp_endpoint.UDPEndpoint
}
type DnsServer ¶
type DnsServer interface { Shutdown() SetDelegate() ShutdownEndpoint(info EndpointInfo) StartServer(port uint16) DirectSend(packet *system.PacketBufferHandle, address IP.Address, port int, id Interface.Id) error BroadcastSend(packet *system.PacketBufferHandle, port int, id Interface.Id, addr IP.Address) error }
type EndpointInfo ¶
type EndpointInfo struct {
// contains filtered or unexported fields
}
type InterfaceTypeFilterDelegate ¶
type InterfaceTypeFilterDelegate struct { BroadcastSendDelegate // contains filtered or unexported fields }
func (InterfaceTypeFilterDelegate) Accept ¶
func (d InterfaceTypeFilterDelegate) Accept(info EndpointInfo) *udp_endpoint.UDPEndpoint
type ListenSocketPickerDelegate ¶
type ListenSocketPickerDelegate struct {
BroadcastSendDelegate
}
type QueryDelegate ¶
type QueryDelegate interface {
OnQuery(r dns.ResponseWriter, data *dnssd.QueryData)
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) SetQueryDelegate ¶
func (m *Server) SetQueryDelegate(delegate QueryDelegate)
Click to show internal directories.
Click to hide internal directories.