func (m *Mymilter) Connect(ctx uintptr, hostname, ip string) (sfsistat int8) {
	fmt.Println("mymilter.connect was called")
	fmt.Printf("hostname: %s\n", hostname)
	fmt.Printf("ip: %s\n", ip)
	return gomilter.Reject
}
Define the callback functions we are going to use
package main
import (
	"."
	"fmt"
)
type Mymilter struct {
	gomilter.MilterRaw  
}