Documentation ¶ Index ¶ type DNSServer func NewDNSServer(opts *options.Options, hub *ws.Hub, wh *webhook.Webhook) *DNSServer func (d *DNSServer) Start() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type DNSServer ¶ type DNSServer struct { IP string // IP to listen on ReplyIP string // IP to reply DNS queries Port int Hub *ws.Hub Silent bool WebHook *webhook.Webhook } func NewDNSServer ¶ func NewDNSServer(opts *options.Options, hub *ws.Hub, wh *webhook.Webhook) *DNSServer func (*DNSServer) Start ¶ func (d *DNSServer) Start() Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.