Documentation ¶
Index ¶
- func GetNextScanID() string
- func ListScans(rewindDays int) (result []tlsmodel.ScanRequest)
- func LoadScanRequest(dir, scanID string) (psr tlsmodel.PersistedScanRequest, e error)
- func PersistScanRequest(psr tlsmodel.PersistedScanRequest)
- func PersistScans(psr tlsmodel.PersistedScanRequest, server string, scans []tlsmodel.ScanResult)
- func RealtimeScan(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNextScanID ¶ added in v0.1.18
func GetNextScanID() string
GetNextScanID returns the next unique scan ID
func ListScans ¶ added in v0.1.18
func ListScans(rewindDays int) (result []tlsmodel.ScanRequest)
ListScans returns the ScanID list of persisted scans
func LoadScanRequest ¶ added in v0.1.18
LoadScanRequest retrieves persisted scan request from folder following a layout pattern
func PersistScanRequest ¶ added in v0.1.18
func PersistScanRequest(psr tlsmodel.PersistedScanRequest)
PersistScanRequest persists scan requesr
func PersistScans ¶ added in v0.1.18
func PersistScans(psr tlsmodel.PersistedScanRequest, server string, scans []tlsmodel.ScanResult)
PersistScans persists the result of scans per server
func RealtimeScan ¶
func RealtimeScan(w http.ResponseWriter, req *http.Request)
RealtimeScan runs a scan asynchronously and streams result over a websocket
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.