rpc

package
v0.0.0-...-c37bcd8 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 13 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscardResponses

func DiscardResponses(responses <-chan *strelka.ScanResponse)

Discards responses

func LogIndividualResponse

func LogIndividualResponse(individualLog string, path string)

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.

Jump to

Keyboard shortcuts

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