Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultTimeout = 5 * time.Minute DefaultWorkers = 4 DefaultScanValidity = time.Hour * 24 * 7 DefaultModificationDelay = time.Second * 30 DefaultMaxFileSize = "100MiB" )
View Source
var ( DefaultConfigPath = "/etc/gmhost/config.yml" DefaultCacheLocation = "" DefaultQuarantineLocation = "/var/lib/gmhost/quarantine" )
View Source
var HandleScanFinished = func() {}
View Source
var Logger = slog.New(slog.NewJSONHandler(os.Stderr, nil))
Functions ¶
Types ¶
type GuiHandleResult ¶
type GuiHandleResult struct{}
func (*GuiHandleResult) Handle ¶
func (a *GuiHandleResult) Handle(path string, result scanner.SummarizedGMalwareResult, report *scanner.Report) (err error)
Click to show internal directories.
Click to hide internal directories.