runner

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: MIT Imports: 36 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoHealthCheck added in v0.0.3

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

func GetUpdateCallback added in v1.0.0

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

func (*Runner) SaveState added in v1.0.4

func (r *Runner) SaveState(resumeFilename string) error

type RunnerState added in v1.0.4

type RunnerState struct {
	InFlightUrls *mapsutil.SyncLockMap[string, struct{}]
}

Jump to

Keyboard shortcuts

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