Documentation ¶
Index ¶
- Constants
- Variables
- func DefaultSubnet() (string, error)
- func Info(probe string)
- func Local(fn FoundIt)
- func Scan(cidr string, http, https []int, fn func(Found)) error
- func ScanContext(ctx context.Context, cidr string, http, https []int, fn func(Found)) error
- func SetLogger(l *log.Logger)
- func Ulimit() int64
- type Finder
- type Found
- type FoundIt
Constants ¶
View Source
const LocalSubnet = "local"
Variables ¶
View Source
var ( Timeout = 10 * time.Second Debug bool )
Functions ¶
func DefaultSubnet ¶
func ScanContext ¶
ScanContext scans the given subnet/ports and sends hits to `fn`
Types ¶
Click to show internal directories.
Click to hide internal directories.