transfer.sh/vendor/github.com/dutchcoders/go-clamd
Remco cb6e5cb0c7 Major rewrite
* use dep for vendoring
* lets encrypt
* moved web to transfer.sh-web repo
* single command install
* added first tests
2017-03-22 18:09:21 +01:00
..
examples Major rewrite 2017-03-22 18:09:21 +01:00
.gitignore Major rewrite 2017-03-22 18:09:21 +01:00
.travis.yml Major rewrite 2017-03-22 18:09:21 +01:00
clamd.go Major rewrite 2017-03-22 18:09:21 +01:00
conn.go Major rewrite 2017-03-22 18:09:21 +01:00
LICENSE Major rewrite 2017-03-22 18:09:21 +01:00
README.md Major rewrite 2017-03-22 18:09:21 +01:00

go-clamd

Interface to clamd (clamav daemon). You can use go-clamd to implement virus detection capabilities to your application.

GoDoc Build Status

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

Code and documentation copyright 2011-2014 Remco Verhoef. Code released under the MIT license.