server

package
v0.3.1-rc.4 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 2 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 interface {
	Server
	HandleUDP(net.PacketConn) error
	HandleTCP(net.Conn) error
}
var EmptyDNSServer DNSServer = &emptyDNSServer{}

type Server

type Server interface {
	io.Closer
}

func WrapClose

func WrapClose(c func() error) Server

Jump to

Keyboard shortcuts

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