server

package
v0.0.0-...-6631c95 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: GPL-3.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 DnsServer

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

func NewDnsServer

func NewDnsServer(tcpSocket net.Listener, udpSocket net.PacketConn, res *resolver.Resolver) *DnsServer

func (*DnsServer) Close

func (d *DnsServer) Close()

func (*DnsServer) Run

func (d *DnsServer) Run()

type Handler

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

func (*Handler) Handle

func (h *Handler) Handle(response dns.ResponseWriter, req *dns.Msg)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳