cmd

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 19 Imported by: 0

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() {}

Functions

func GlobalInit

func GlobalInit(cmd *cobra.Command, args []string) error

func Gui

func Gui(entryPath string, nbFiles int) context.Context

func Main

func Main()

Types

type GContext

type GContext struct {
	// contains filtered or unexported fields
}

type GuiHandleResult

type GuiHandleResult struct{}

func (*GuiHandleResult) Handle

func (a *GuiHandleResult) Handle(path string, result scanner.SummarizedGMalwareResult, report *scanner.Report) (err error)

Jump to

Keyboard shortcuts

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