Skip to content
Interface to clamd (clamav daemon). You can use go-clamd to implement virus detection capabilities to your application.
Go
Find file
Failed to load latest commit information.
examples Initial
.gitignore Initial commit
.travis.yml added travis
LICENSE Initial commit
README.md Update README.md
clamd.go added support for tcp and unix sockets
conn.go added support for tcp and unix sockets

README.md

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

Copyright and license

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

Something went wrong with that request. Please try again.