document

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var URLAttrs = set{"href": nil, "link": nil, "src": nil}

URLAttrs represents all attributes that have a URL-like as a value.

Functions

This section is empty.

Types

type Processor

type Processor interface {
	Process(tag.DescriptionSlice, target.LocationSlice) ([]string, error)
}

Processor is a an interface for processing a list of descriptions over a list of locations.

func NewProcessor

func NewProcessor(retriever retriever, reparent bool) Processor

NewProcessor wires a retriever function and sets the reparent flag.

Jump to

Keyboard shortcuts

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