clamwin

package
v0.0.0-...-5e946a6 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClamwinNormalizer

func NewClamwinNormalizer(out io.Writer) io.Writer

Types

type ClamwinConnector

type ClamwinConnector struct {
	GetClamwinStream func() (io.ReadCloser, error)
	BufferSize       int32
}

func NewClamwinConnector

func NewClamwinConnector() *ClamwinConnector

func (*ClamwinConnector) Download

func (c *ClamwinConnector) Download(out io.Writer) error

func (*ClamwinConnector) ExtractMainMDB

func (c *ClamwinConnector) ExtractMainMDB(gzipStream io.Reader, out io.Writer) error

type ClamwinConnectorImpl

type ClamwinConnectorImpl struct{}

type ClamwinNormalizer

type ClamwinNormalizer struct {
	Out         io.Writer
	DanglingBit string
}

func (*ClamwinNormalizer) Write

func (w *ClamwinNormalizer) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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