Documentation ¶ Index ¶ type Server func NewServer(addr string, upstream *common.DNSUpstream, plugins []plugin.Plugin) *Server func (s *Server) Exchange(ctx *common.Context) func (s *Server) Run() func (s *Server) ServeDNS(w dns.ResponseWriter, q *dns.Msg) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ func NewServer(addr string, upstream *common.DNSUpstream, plugins []plugin.Plugin) *Server func (*Server) Exchange ¶ func (s *Server) Exchange(ctx *common.Context) func (*Server) Run ¶ func (s *Server) Run() func (*Server) ServeDNS ¶ func (s *Server) ServeDNS(w dns.ResponseWriter, q *dns.Msg) Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.