You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Remco cb6e5cb0c7 Major rewrite 7 years ago
..
examples Major rewrite 7 years ago
.gitignore Major rewrite 7 years ago
.travis.yml Major rewrite 7 years ago
LICENSE Major rewrite 7 years ago
README.md Major rewrite 7 years ago
clamd.go Major rewrite 7 years ago
conn.go Major rewrite 7 years ago

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

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