scan

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 4 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScanContext

type ScanContext struct {
	context.Context
	Input *contextargs.Context

	OnError  func(error)
	OnResult func(e *output.InternalWrappedEvent)
	// contains filtered or unexported fields
}

func NewScanContext

func NewScanContext(input *contextargs.Context) *ScanContext

func (*ScanContext) GenerateResult

func (s *ScanContext) GenerateResult() []*output.ResultEvent

func (*ScanContext) LogError

func (s *ScanContext) LogError(err error)

func (*ScanContext) LogEvent

func (s *ScanContext) LogEvent(e *output.InternalWrappedEvent)

Jump to

Keyboard shortcuts

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