runner

package
v0.0.0-...-d69ec9c Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoHealthCheck

func DoHealthCheck(options *types.Options, flagSet *goflags.FlagSet) string

func GetUpdateCallback

func GetUpdateCallback() func()

GetUpdateCallback returns a callback function that updates katana

Types

type Runner

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

Runner creates the required resources for crawling and executes the crawl process.

func New

func New(options *types.Options) (*Runner, error)

New returns a new crawl runner structure

func (*Runner) Close

func (r *Runner) Close() error

Close closes the runner releasing resources

func (*Runner) ExecuteCrawling

func (r *Runner) ExecuteCrawling() error

ExecuteCrawling executes the crawling main loop

Jump to

Keyboard shortcuts

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