Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package pollute
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestPolluteCheck(t *testing.T) {
|
||||
var reqs []CheckReq
|
||||
reqs = append(reqs, CheckReq{Domain: "https://ppfff.me", Payload: "1"})
|
||||
reqs = append(reqs, CheckReq{Domain: "pppff.me", Payload: "2"})
|
||||
reqs = append(reqs, CheckReq{Domain: "https://ppff.live", Payload: "3"})
|
||||
result, err := Check(reqs, Ce8)
|
||||
fmt.Println(result, err)
|
||||
}
|
||||
Reference in New Issue
Block a user