From d55b5ecff0985db6dffae308a6f26ae9481c9676 Mon Sep 17 00:00:00 2001 From: Remco Date: Mon, 22 Sep 2014 22:28:17 +0200 Subject: [PATCH] Initial --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index fad2dee..d8c6675 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,31 @@ 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](LICENSE).