processor

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Anchors       []string
	DatastorePath string
	MinimumAge    time.Duration
}

type Processor

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

func New

func New(c Config) (*Processor, error)

func (*Processor) Add

func (p *Processor) Add(scans ...autoscan.Scan) error

func (*Processor) CheckAvailability

func (p *Processor) CheckAvailability(targets []autoscan.Target) error

CheckAvailability checks whether all targets are available. If one target is not available, the error will return.

func (*Processor) Process

func (p *Processor) Process(targets []autoscan.Target) error

Jump to

Keyboard shortcuts

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