links

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckHealth

func CheckHealth(link string, wg *sync.WaitGroup, ch chan map[string]string)

func GetFiles

func GetFiles(filetype string, ignoredDirs []string) []string

func GetURLRegex

func GetURLRegex() *regexp.Regexp

Types

type Links struct {
	// count of all valid links
	TotalLinks int
	// count of files with links
	TotalValidFiles int
	// Map of file to list of links
	FileToListOfLinks map[string][]string
	AllHyperlinks     []map[string]string
}
func GetLinks(files []string) *Links

Get all valid links

Jump to

Keyboard shortcuts

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