Skip to content

baruwa-enterprise/clamd

Repository files navigation

clamd

Golang Clamd Client

Ci codecov Go Report Card Go Reference MPLv2 License

Description

clamd is a Golang library and cmdline tool that implements the Clamd client protocol used by ClamAV.

Requirements

  • Golang 1.16.x or higher

Getting started

Clamd client

The clamd client can be installed as follows

$ go get github.com/baruwa-enterprise/clamd/cmd/clamdscan

Or by cloning the repo and then running

$ make build
$ ./bin/clamdscan

Clamd library

To install the library

go get github.com/baruwa-enterprise/clamd

You can then import it in your code

import "github.com/baruwa-enterprise/clamd"

Testing

make test

License

MPL-2.0