scan

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperationScan added in v0.4.6

type OperationScan struct {
	Operation *request.Operation
	Handler   ScanHandler
}

type Scan

type Scan struct {
	Operations      request.Operations
	Reporter        *report.Reporter
	OperationsScans []OperationScan
}

func NewScan added in v0.3.0

func NewScan(operations request.Operations, reporter *report.Reporter) (*Scan, error)

func (*Scan) AddOperationScanHandler added in v0.4.0

func (s *Scan) AddOperationScanHandler(handler ScanHandler) *Scan

func (*Scan) AddScanHandler added in v0.3.0

func (s *Scan) AddScanHandler(handler ScanHandler) *Scan

func (*Scan) Execute

func (s *Scan) Execute(scanCallback func(operationScan *OperationScan)) (*report.Reporter, []error, error)

func (*Scan) GetOperationsScans added in v0.4.6

func (s *Scan) GetOperationsScans() []OperationScan

type ScanHandler

type ScanHandler func(operation *request.Operation, ss auth.SecurityScheme) (*report.ScanReport, error)

Jump to

Keyboard shortcuts

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