clamwin-downloader

command module
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: 2 Imported by: 0

README

Clamwin DB downloader

Downloads the clamwin DB, and extracts main.cvd from it.

Usage

package main

import (
	"os"

	"github.com/codeallthethingz/clamwin-downloader/clamwin"
)

func main() {
	file, err := os.Create("virus.db")
	if err != nil {
		panic(err)
	}
	if err := clamwin.NewClamwinConnector().Download(file); err != nil {
		panic(err)
	}
}

License

Please note, clamwin DB is GNU GENERAL PUBLIC LICENSE, Version 3, and thus you cannot use this code in any commercial software.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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