linkcheck

package
v0.21.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2021 License: BSD-3-Clause Imports: 26 Imported by: 0

Documentation

Overview

Package linkcheck finds missing links in the given website. It crawls a URL recursively and notes URLs and URL fragments that it's seen and prints a report of missing links at the end.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCancelled       = exitcode.Set(errors.New("scraping canceled by SIGINT"), 3)
	ErrBadLinks        = exitcode.Set(errors.New("found bad links"), 4)
	ErrMissingFragment = errors.New("page missing fragments")
)

Errors native to linkcheck

Functions

func CLI

func CLI(args []string) error

CLI runs the linkrot executable, equivalent to calling it on the command line.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL