runner

package
v2.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	sync.WaitGroup

	Providers []providers.Provider
	// contains filtered or unexported fields
}

func (*Runner) Init

func (r *Runner) Init(c *providers.Config, providers []string, filters providers.Filters) error

Init initializes the runner

func (*Runner) Start

func (r *Runner) Start(ctx context.Context, workChan chan Work, results chan string)

Starts starts the worker

type Work added in v2.2.0

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

func NewWork added in v2.2.0

func NewWork(domain string, provider providers.Provider) Work

func (*Work) Do added in v2.2.0

func (w *Work) Do(ctx context.Context, results chan string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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