Remco cb6e5cb0c7 | преди 7 години | |
---|---|---|
.. | ||
examples | преди 7 години | |
.gitignore | преди 7 години | |
.travis.yml | преди 7 години | |
LICENSE | преди 7 години | |
README.md | преди 7 години | |
clamd.go | преди 7 години | |
conn.go | преди 7 години |
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.