sophos

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

type Scanner struct{}

Scanner represents an empty struct that can be used to a method received.

func (Scanner) ScanFile

func (Scanner) ScanFile(filepath string, opts multiav.Options) (multiav.Result, error)

ScanFile a file with Sophos scanner

type Version

type Version struct {
	ProductVersion       string `json:"product_version"`
	EngineVersion        string `json:"engine_version"`
	VirusDataVersion     string `json:"virus_data_version"`
	UserInterfaceVersion string `json:"user_interface_version"`
}

Version represents all sophos components' versions.

func GetVersion

func GetVersion() (Version, error)

GetVersion returns Sophos components' version

Jump to

Keyboard shortcuts

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