scaningest

package
v0.0.0-...-7e8a2ca Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package scaningest implements an API for ingesting scan jobs, to be used with a jobqueue.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ingester

type Ingester struct {
	IngestCallback func(*Job) (string, error)
}

func (*Ingester) NewJob

func (i *Ingester) NewJob() (*Job, error)

type Job

type Job struct {
	Pages []*page.Any
	// contains filtered or unexported fields
}

func (*Job) AddPage

func (j *Job) AddPage(page *page.Any) error

func (*Job) Ingest

func (j *Job) Ingest() (string, error)

func (*Job) ReversePages

func (j *Job) ReversePages()

Jump to

Keyboard shortcuts

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