Documentation ¶
Index ¶
- type OperationScan
- type OperationScanHandler
- type OperationScanHandlerFunc
- type Scan
- func (s *Scan) AddOperationScanHandler(handler *OperationScanHandler) *Scan
- func (s *Scan) AddScanHandler(handler *OperationScanHandler) *Scan
- func (s *Scan) Execute(scanCallback func(operationScan *OperationScan), includeScans []string, ...) (*report.Reporter, []error, error)
- func (s *Scan) GetOperationsScans() []OperationScan
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 (*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) GetOperationsScans ¶ added in v0.4.6
func (s *Scan) GetOperationsScans() []OperationScan
Click to show internal directories.
Click to hide internal directories.