baruwa-enterprise / avast

Golang avast client library

Home Page:https://www.baruwa.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Golang avast client library

https://www.baruwa.com

License:Mozilla Public License 2.0


Languages

Language:Go 96.9%Language:Makefile 3.1%