Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶ added in v0.11.2
func NewHandler(opts HandlerOptions) (dns.Handler, error)
Types ¶
type HandlerOptions ¶ added in v0.11.2
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func Start ¶
func Start(opts ServerOptions) (*Server, error)
type ServerOptions ¶ added in v0.11.2
type ServerOptions struct { HandlerOptions Address string TCPPort int UDPPort int }
Click to show internal directories.
Click to hide internal directories.