clamav

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClamAV

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

func NewClamAV

func NewClamAV(config ClamAVConfig) *ClamAV

New ClamAV

func (*ClamAV) Ping

func (c *ClamAV) Ping() error

Ping ClamAV

func (*ClamAV) StartInfiniteScan

func (c *ClamAV) StartInfiniteScan(ctx context.Context, path string)

type ClamAVConfig

type ClamAVConfig struct {
	Host         string
	Port         string
	ScanInterval string
	RetryDelay   time.Duration
	MaxRetries   int
}

func (*ClamAVConfig) Address

func (c *ClamAVConfig) Address() string

Jump to

Keyboard shortcuts

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