dns

package
v0.0.0-...-66819b2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(setting config.YmlConfig) *Handler

func (*Handler) DoTCP

func (h *Handler) DoTCP(w dns.ResponseWriter, req *dns.Msg)

func (*Handler) DoUDP

func (h *Handler) DoUDP(w dns.ResponseWriter, req *dns.Msg)

type UDPServer

type UDPServer struct {
	// contains filtered or unexported fields
}

func NewUDPServer

func NewUDPServer(handler *Handler) *UDPServer

func (*UDPServer) Run

func (u *UDPServer) Run()

Jump to

Keyboard shortcuts

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