https://github.com/baruwa-enterprise/clamd
Golang clamd (clamav daemon) client library
https://github.com/baruwa-enterprise/clamd
anti-virus antivirus clamav clamav-client clamd clamdscan go golang
Last synced: 5 months ago
JSON representation
Golang clamd (clamav daemon) client library
- Host: GitHub
- URL: https://github.com/baruwa-enterprise/clamd
- Owner: baruwa-enterprise
- License: mpl-2.0
- Created: 2018-07-20T11:40:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-30T05:04:54.000Z (over 1 year ago)
- Last Synced: 2025-08-13T20:54:59.924Z (10 months ago)
- Topics: anti-virus, antivirus, clamav, clamav-client, clamd, clamdscan, go, golang
- Language: Go
- Homepage: https://www.baruwa.com
- Size: 104 KB
- Stars: 27
- Watchers: 2
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# clamd
Golang Clamd Client
[](https://github.com/baruwa-enterprise/clamd/actions?query=workflow%3ACi)
[](https://codecov.io/gh/baruwa-enterprise/clamd)
[](https://goreportcard.com/report/github.com/baruwa-enterprise/clamd)
[](https://pkg.go.dev/github.com/baruwa-enterprise/clamd)
[](https://www.mozilla.org/MPL/2.0/)
## 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
```console
$ go get github.com/baruwa-enterprise/clamd/cmd/clamdscan
```
Or by cloning the repo and then running
```console
$ make build
$ ./bin/clamdscan
```
### Clamd library
To install the library
```console
go get github.com/baruwa-enterprise/clamd
```
You can then import it in your code
```golang
import "github.com/baruwa-enterprise/clamd"
```
### Testing
``make test``
## License
MPL-2.0