kaspersky

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

func GetLicenseInfos

func GetLicenseInfos() (string, error)

GetLicenseInfos queries license infos

func GetProgramVersion

func GetProgramVersion() (string, error)

GetProgramVersion returns Kaspersky Anti-Virus for Linux File Server version.

func StartDaemon

func StartDaemon() error

StartDaemon starts the kaspersky daemon.

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 Kaspersky scanner

type Version

type Version struct {
	CurrentAVDatabasesDate    string `json:"current_av_db_ate"`
	LastAVDatabasesUpdateDate string `json:"last_av_db_update_date"`
	CurrentAVDatabasesState   string `json:"current_av_db_state"`
	CurrentAVDatabasesRecords string `json:"current_av_db_records"`
}

Version represents database components' versions.

func GetDatabaseVersion

func GetDatabaseVersion() (Version, error)

GetDatabaseVersion returns AV database update version

Jump to

Keyboard shortcuts

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