netx

package
v0.29.5-rc.3 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidIP  = errors.New("invalid ip")
	ErrIPNetIsNil = errors.New("ipnet is nil")
)
View Source
var ErrDNSQueryFailed = errors.New("DNS query failed")

Functions

func AddOffsetToIPNet

func AddOffsetToIPNet(ipNet *net.IPNet, offset int) (*net.IPNet, error)

func DNSQuery

func DNSQuery(server, target string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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