internal

package
v0.0.0-...-49c6e27 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContentErrorDuplicateHash = errors.New("duplicate value")
View Source
var (
	ErrorIpCannotBeResolved = errors.New("invalid URL no IPs to resolve")
)

Functions

func CheckContent

func CheckContent(store repository.Repository, content string) error

func DownloadRawHtml

func DownloadRawHtml(url string) (string, error)
func ExtractHtmlLinks(rawHtml string) ([]string, error)

func ResolveDns

func ResolveDns(host string) error

func ValidateHtmlContent

func ValidateHtmlContent(rawHtml string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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