Documentation ¶
Index ¶
- func DiscardResponses(responses <-chan *strelka.ScanResponse)
- func LogIndividualResponse(individualLog string, path string)
- func LogResponses(responses <-chan *strelka.ScanResponse, path string)
- func PrintResponses(responses <-chan *strelka.ScanResponse)
- func ReportResponses(responses <-chan *strelka.ScanResponse, delta time.Duration)
- func ScanFile(client strelka.FrontendClient, timeout time.Duration, ...)
- func SetAuth(cert string) grpc.DialOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiscardResponses ¶
func DiscardResponses(responses <-chan *strelka.ScanResponse)
Discards responses
func LogIndividualResponse ¶
Logs String for individual responses
func LogResponses ¶
func LogResponses(responses <-chan *strelka.ScanResponse, path string)
Logs events in responses to local disk
func PrintResponses ¶
func PrintResponses(responses <-chan *strelka.ScanResponse)
Logs events in responses to stdout
func ReportResponses ¶
func ReportResponses(responses <-chan *strelka.ScanResponse, delta time.Duration)
Reports number of responses received according to a delta
func ScanFile ¶
func ScanFile(client strelka.FrontendClient, timeout time.Duration, req structs.ScanFileRequest, responses chan<- *strelka.ScanResponse)
func SetAuth ¶
func SetAuth(cert string) grpc.DialOption
Establishes insecure or secure gRPC transport based on the presence of a server certificate
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.