deduplicator

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package deduplicator provides URL deduplication.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deduplicator

type Deduplicator struct {
	// contains filtered or unexported fields
}

A Deduplicator manages the deduplication of URLs, allowing you to filter out those which you've already visited. The zero value is valid.

func (*Deduplicator) Filter

func (d *Deduplicator) Filter(urls []*url.URL) (filtered []*url.URL)

Filter implementation.

Jump to

Keyboard shortcuts

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