Initial commit

This commit is contained in:
2026-05-20 16:13:58 +08:00
commit ceffbe382e
500 changed files with 157469 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
package pollute
type CheckFrom = int
const (
Ce8 CheckFrom = iota
)
type CheckReq struct {
Domain string
Payload string
}
type CheckResult struct {
Domain string
Polled bool
Err error
Payload string
}
func Check(domains []CheckReq, checkFrom CheckFrom) ([]CheckResult, error) {
switch checkFrom {
case Ce8:
fallthrough
default:
return ce8PolluteCheck(domains)
}
}