diff options
Diffstat (limited to 'deadlinks.go')
| -rw-r--r-- | deadlinks.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deadlinks.go b/deadlinks.go index 1d31b8f..365a6fb 100644 --- a/deadlinks.go +++ b/deadlinks.go @@ -7,6 +7,10 @@ import ( "fmt" ) +// StatusBadLink status for link that is not parseable by [url.Parse] or not +// reachable during GET or HEAD, either timeout or IP or domain not exist. +const StatusBadLink = 700 + // Scan the baseUrl for dead links. func Scan(opts ScanOptions) (result *Result, err error) { var logp = `Scan` |
