scan

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 5 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
	ScanHandler *OperationScanHandler
}

type OperationScanHandler added in v0.7.3

type OperationScanHandler struct {
	ID      string
	Handler OperationScanHandlerFunc
}

func NewOperationScanHandler added in v0.7.3

func NewOperationScanHandler(id string, handler OperationScanHandlerFunc) *OperationScanHandler

type OperationScanHandlerFunc added in v0.7.3

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

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 *OperationScanHandler) *Scan

func (*Scan) AddScanHandler added in v0.3.0

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

func (*Scan) Execute

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

func (*Scan) GetOperationsScans added in v0.4.6

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

Jump to

Keyboard shortcuts

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