This commit is contained in:
francis
2013-10-05 20:30:05 -03:00
parent 394af5d64f
commit 335a89337f

View File

@@ -40,7 +40,7 @@ example.go
func main() {
html := "<html>Hello world. I'm not a Spam, don't kill me SpamAssassin!</html>"
client := spamc.New()
client := spamc.New("127.0.0.1:783",10)
//the 2nd parameter is optional, you can set who (the unix user) do the call
reply, _ := client.Check(html, "saintienn")