pingx

package
v0.0.0-...-c94197b Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IPRange

func IPRange(c net.IPNet) (net.IP, net.IP)

IPRange calculate the start and end IP addresses according to the subnet mask thx: https://github.com/shadow1ng/fscan/blob/main/common/ParseIP.go

Types

type Pingxer

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

func NewPingxer

func NewPingxer() (*Pingxer, error)

func (*Pingxer) Scan

func (p *Pingxer) Scan(ctx context.Context, ipnet net.IPNet) ([]string, error)

Jump to

Keyboard shortcuts

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