Remco cb6e5cb0c7 | vor 7 Jahren | |
---|---|---|
.. | ||
examples | vor 7 Jahren | |
.gitignore | vor 7 Jahren | |
.travis.yml | vor 7 Jahren | |
LICENSE | vor 7 Jahren | |
README.md | vor 7 Jahren | |
clamd.go | vor 7 Jahren | |
conn.go | vor 7 Jahren |
Interface to clamd (clamav daemon). You can use go-clamd to implement virus detection capabilities to your application.
c := clamd.NewClamd("/tmp/clamd.socket")
reader := bytes.NewReader(clamd.EICAR)
response, err := c.ScanStream(reader)
for s := range response {
fmt.Printf("%v %v\n", s, err)
}
Contributions are welcome.
Remco Verhoef
Code and documentation copyright 2011-2014 Remco Verhoef. Code released under the MIT license.