check

package
v0.0.0-...-e098d3e Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotHTTP = errors.New("not an http url")
)

Common errors

Functions

func Check

func Check(ctx context.Context, urlStr string, peek int64, headers http.Header) (httpsURL string, sim float64, err error)

Check checks whether there's https url to http url urlStr with similar content.

Types

This section is empty.

Jump to

Keyboard shortcuts

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