fetcher

package
v0.0.0-...-6c88405 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fetcher

type Fetcher struct {
	Client *http.Client
}

func NewFetcher

func NewFetcher(maxRetries int) Fetcher

func (Fetcher) Fetch

func (f Fetcher) Fetch(ctx context.Context, url string) (*html.Node, error)

Jump to

Keyboard shortcuts

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