https://github.com/dutchcoders/go-clamd
Interface to clamd (clamav daemon). You can use go-clamd to implement virus detection capabilities to your application.
https://github.com/dutchcoders/go-clamd
Last synced: 3 months ago
JSON representation
Interface to clamd (clamav daemon). You can use go-clamd to implement virus detection capabilities to your application.
- Host: GitHub
- URL: https://github.com/dutchcoders/go-clamd
- Owner: dutchcoders
- License: mit
- Created: 2014-09-22T20:03:34.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-05-26T14:05:39.000Z (about 2 years ago)
- Last Synced: 2025-03-30T18:10:02.771Z (3 months ago)
- Language: Go
- Homepage: http://godoc.org/github.com/dutchcoders/go-clamd
- Size: 11.7 KB
- Stars: 100
- Watchers: 11
- Forks: 49
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
go-clamd
========Interface to clamd (clamav daemon). You can use go-clamd to implement virus detection capabilities to your application.
[](https://godoc.org/github.com/dutchcoders/go-clamd)
[](https://travis-ci.org/dutchcoders/go-clamd)## Examples
```
c := clamd.NewClamd("/tmp/clamd.socket")reader := bytes.NewReader(clamd.EICAR)
response, err := c.ScanStream(reader, make(chan bool))for s := range response {
fmt.Printf("%v %v\n", s, err)
}
```## Contributions
Contributions are welcome.
## Creators
**Remco Verhoef**
--
## Copyright and license
Code and documentation copyright 2011-2014 Remco Verhoef. Code released under [the MIT license](LICENSE).