Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrParseDetection is reported when parsing AV detection result from the // CLI failed. ErrParseDetection = errors.New("failed to parse detection name") // DefaultScanTimeout represents the maximum wait time for the scanning before // giving up. DefaultScanTimeout = 60 * time.Second )
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct { // Infected is true when the file has been detected as so by the antivirus. Infected bool `json:"infected"` // The detection name. Output string `json:"output"` // Out represent the std out from the av scanner during the cmd line scan. Out string `json:"-"` }
Result represents detection results.
Click to show internal directories.
Click to hide internal directories.