fix 2
This commit is contained in:
@@ -40,7 +40,7 @@ example.go
|
|||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
html := "<html>Hello world. I'm not a Spam, don't kill me SpamAssassin!</html>"
|
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
|
//the 2nd parameter is optional, you can set who (the unix user) do the call
|
||||||
reply, _ := client.Check(html, "saintienn")
|
reply, _ := client.Check(html, "saintienn")
|
||||||
|
|||||||
Reference in New Issue
Block a user