plugin

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const CRAWLER_PLUGIN_NAME = "CrawlerPlugin"

Variables

This section is empty.

Functions

This section is empty.

Types

type CrawlerPlugin

type CrawlerPlugin struct {

	// PluginEntries for Attachements
	Entries []*CrawlerPluginEntry

	// a map containing additional should add filters
	Filters map[string]*crawler.ShouldAddFilter
}

func GetCrawlerPlugin

func GetCrawlerPlugin(path string) (*CrawlerPlugin, error)

func GetCrawlerPlugins

func GetCrawlerPlugins(paths ...string) []*CrawlerPlugin

type CrawlerPluginEntry

type CrawlerPluginEntry struct {
	DomainName string
	*crawler.OnPageResultAdded
}

type CrawlerPlugins

type CrawlerPlugins []*CrawlerPlugin

Jump to

Keyboard shortcuts

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