f70f574e61d3f951fcd360c7bff0d0bd8209fd8c
* Added TCP_TIMEOUT Default tcp timeout 3minutes. change to optional in newCLAMDTcpConn function. * added time import * Revert "added time import" This reverts commit11ba4f047f. * Revert "Revert "added time import"" This reverts commit984f179a63.
go-clamd
Interface to clamd (clamav daemon). You can use go-clamd to implement virus detection capabilities to your application.
Examples
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
Contributions are welcome.
Creators
Remco Verhoef
Copyright and license
Code and documentation copyright 2011-2014 Remco Verhoef. Code released under the MIT license.
Languages
Go
100%