Golang Avast Client
avast is a Golang library and cmdline tool that implements the Avast client protocol.
- Golang 1.10.x or higher
The avast client can be installed as follows
$ go get github.com/baruwa-enterprise/avast/cmd/avastscan
Or by cloning the repo and then running
$ make build
$ ./bin/avastscan
To install the library
go get github.com/baruwa-enterprise/avast
You can then import it in your code
import "github.com/baruwa-enterprise/avast"
Set the env variable AVAST_ADDRESS
to point to your avast socket
$ export AVAST_ADDRESS="/var/run/avast/scan.sock"
$ make test
MPL-2.0