Files
cameradar/vendor/github.com/Ullaakut/nmap/errors.go
T
Brendan LE GLAUNEC 5849898283 Cameradar 3.0.0: Uses ullaakut/nmap, runs faster, removed legacy code (#188)
Unit tests functional and coverage back to 100%

Add more routes to dictionary, add more credentials, add default port 5554, rename cameradar logs ENV variable, improve unit test readability, remove tmp file
2019-01-22 21:16:16 +01:00

19 lines
625 B
Go

package nmap
import (
"errors"
)
var (
// ErrNmapNotInstalled means that upon trying to manually locate nmap in the user's path,
// it was not found. Either use the WithBinaryPath method to set it manually, or make sure that
// the nmap binary is present in the user's $PATH.
ErrNmapNotInstalled = errors.New("'nmap' binary was not found")
// ErrScanTimeout means that the provided context was done before the scanner finished its scan.
ErrScanTimeout = errors.New("nmap scan timed out")
// ErrNoTargetsSpecified means that no targets were specified.
ErrNoTargetsSpecified = errors.New("no targets specified")
)