package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Feb 14, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetDate retrieves the date for a scan.
type Check struct {
ID string `json:"id"`
Target string `json:"target"`
Status string `json:"status"`
Report string `json:"report"`
CheckTypeName string `json:"checktype_name"`
}
Check represents an individual check from Checks
GetChecks retrieves all checks for a scan.
type Checks struct {
Checks []Check `json:"checks"`
}
Checks represents the response from /scan/{id}/checks
type Scan struct {
ID string `json:"id"`
StartTime time.Time `json:"start_time"`
}
Scan represents the response from /scan/{id}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.