server

package
v0.3.1-beta.4 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 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
}

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