summaryrefslogtreecommitdiff
path: root/link_queue.go
diff options
context:
space:
mode:
Diffstat (limited to 'link_queue.go')
-rw-r--r--link_queue.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/link_queue.go b/link_queue.go
index 10dbfff..63940cc 100644
--- a/link_queue.go
+++ b/link_queue.go
@@ -22,6 +22,10 @@ type linkQueue struct {
// It set to 0 if url is the first URL being scanned.
kind atom.Atom
+ // isExternal if true the scan will issue HTTP method HEAD instead of
+ // GET.
+ isExternal bool
+
// Status of link after scan, its mostly used the HTTP status code.
// 0: link is the result of scan, not processed yet.
// StatusBadLink: link is invalid, not parseable or unreachable.