websocket

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2018 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

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

func LoadScanRequest(dir, scanID string) (psr tlsmodel.PersistedScanRequest, e error)

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.

Jump to

Keyboard shortcuts

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