server

package
v0.0.0-...-40a1a08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2025 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const QRBit = 1 << 15

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(listen []string, enablePrivDrop bool) *Server

func (*Server) Serve

func (s *Server) Serve()

func (*Server) ServeDNS

func (s *Server) ServeDNS(wr dns.ResponseWriter, msg *dns.Msg)

func (*Server) SetHandler

func (s *Server) SetHandler(handler dns.Handler)

func (*Server) Shutdown

func (s *Server) Shutdown()

func (*Server) WaitReady

func (s *Server) WaitReady()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL