dupefilter

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RFPDupeFilterMiddleware

func RFPDupeFilterMiddleware() antch.Middleware

Types

type RFPDupeFilter

type RFPDupeFilter struct {
	// IncludeHeaders specifies what header value is included to
	// fingerprint compute.
	IncludeHeaders []string
	// contains filtered or unexported fields
}

RFPDupeFilter is a middleware of HTTP downloader to filter duplicate requests, based on request fingerprint.

func (*RFPDupeFilter) Send

func (f *RFPDupeFilter) Send(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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