Documentation
¶
Overview ¶
Package target turns user input (positional args + --file) into a flat, de-duplicated, order-preserving list of probe targets.
Accepted forms:
- bare host or IP: "8.8.8.8", "example.com", "2606:4700:4700::1111"
- comma list: "8.8.8.8,1.1.1.1,example.com"
- IPv4 CIDR: "10.0.0.0/30" (expanded to host addresses)
- --file <path>: CSV with the target in the first column; lines beginning with "#" and empty lines are ignored. The first column may itself be a comma list or a CIDR.
Index ¶
Constants ¶
View Source
const MaxCIDRHosts = 256
MaxCIDRHosts caps CIDR expansion to keep rendering manageable.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.