Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNSHandler ¶
func NewSOAHandler ¶
func NewSOAHandler(name string) *soaHandler
Types ¶
type DNS ¶
type DNS struct { Config *config.Config Server *mdns.Server // contains filtered or unexported fields }
func (*DNS) HandleRequest ¶
func (dns *DNS) HandleRequest(w mdns.ResponseWriter, r *mdns.Msg)
HandleRequest process incoming requests
func (*DNS) ParseQuery ¶
ParseQuery parses incoming query and creates appropriate response message
type QueryHandlers ¶
type QueryHandlers map[string]queryHandler
Click to show internal directories.
Click to hide internal directories.