discover

package
v0.0.0-...-b96a1bf Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CrawlSameOrigin

func CrawlSameOrigin(parent context.Context, client *http.Client, base *url.URL, userAgent string, timeout time.Duration, maxDepth int, maxPages int, maxBytes int64) ([]string, error)

func FetchRobots

func FetchRobots(parent context.Context, client *http.Client, base *url.URL, userAgent string, timeout time.Duration, maxBytes int64) ([]string, []string, error)

func FetchSitemaps

func FetchSitemaps(parent context.Context, client *http.Client, base *url.URL, seeds []string, userAgent string, timeout time.Duration, maxBytes int64, maxFetch int) ([]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