sources

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var List = []string{
	"commoncrawl",
	"github",
	"intelx",
	"otx",
	"urlscan",
	"wayback",
	"waybackrobots",
}

List contains the list of all sources. These sources are used by default.

Functions

This section is empty.

Types

type Keys

type Keys struct {
	GitHub []string `json:"github"`
	// unused, add for the purpose of adding an asterisk `*` on listing sources
	Intelx     string `json:"intelx"`
	IntelXHost string `json:"intelXHost"`
	IntelXKey  string `json:"intelXKey"`
}

type Source

type Source interface {
	Run(keys Keys, ftr filter.Filter) chan output.URL
	Name() string
}

Source is an interface inherited by each passive source

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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