scan

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Scan

func Scan(specPath string, targetHost string) error

Types

type ScanResult

type ScanResult struct {
	Method string `json:"method"`
	Path   string `json:"path"`
	Status int    `json:"status,omitempty"`
	Error  string `json:"error,omitempty"`
}

type ScanResults

type ScanResults struct {
	WithAuth     []ScanResult `json:"withAuth"`
	WithoutAuth  []ScanResult `json:"withoutAuth"`
	ErrorResults []ScanResult `json:"errors"`
}

Jump to

Keyboard shortcuts

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