Skip to content

baruwa-enterprise/avast

Repository files navigation

avast

Golang Avast Client

Ci codecov Go Report Card Go Reference MPLv2 License

Description

avast is a Golang library and cmdline tool that implements the Avast client protocol.

Requirements

  • Golang 1.10.x or higher

Getting started

Avast client

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

Avast library

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"

Testing

Set the env variable AVAST_ADDRESS to point to your avast socket

$ export AVAST_ADDRESS="/var/run/avast/scan.sock"
$ make test

License

MPL-2.0