dns

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DNS = "dns"

Variables

This section is empty.

Functions

func CheckDNS

func CheckDNS(conn net.Conn, timeout time.Duration) (bool, error)

Types

type TCPPlugin

type TCPPlugin struct{}

func (TCPPlugin) Name

func (p TCPPlugin) Name() string

func (TCPPlugin) PortPriority

func (p TCPPlugin) PortPriority(i uint16) bool

func (*TCPPlugin) Priority

func (p *TCPPlugin) Priority() int

func (TCPPlugin) Run

func (p TCPPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

func (TCPPlugin) Type

func (p TCPPlugin) Type() plugins.Protocol

type UDPPlugin

type UDPPlugin struct{}

func (UDPPlugin) Name

func (p UDPPlugin) Name() string

func (*UDPPlugin) PortPriority

func (p *UDPPlugin) PortPriority(i uint16) bool

func (*UDPPlugin) Priority

func (p *UDPPlugin) Priority() int

func (*UDPPlugin) Run

func (p *UDPPlugin) Run(conn net.Conn, timeout time.Duration, target plugins.Target) (*plugins.Service, error)

func (*UDPPlugin) Type

func (p *UDPPlugin) Type() plugins.Protocol

Jump to

Keyboard shortcuts

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