Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { PublicDebugQueries bool // contains filtered or unexported fields }
func NewServer ¶
func NewServer(si *monitor.ServerInfo) *Server
func (*Server) ListenAndServe ¶
func (*Server) SetQueryLogger ¶
func (srv *Server) SetQueryLogger(logger querylog.QueryLogger)
Setup the QueryLogger. For now it only supports writing to a file (and all zones get logged to the same file).
Click to show internal directories.
Click to hide internal directories.