surbl

package
v0.0.0-...-e6528b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2025 License: CC-BY-4.0 Imports: 5 Imported by: 0

Documentation

Overview

Package surbl checks URLs with surbl.org spam list using concurrency.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(domains ...string) map[string]DomainInfo

Check concurrently checks SURBL spam list. http://www.surbl.org/guidelines http://www.surbl.org/surbl-analysis

func CheckWithLock

func CheckWithLock(domains ...string) map[string]DomainInfo

CheckWithLock concurrently checks SURBL spam list with Mutex.

Types

type DomainInfo

type DomainInfo struct {
	Domain string
	IsSpam bool
	Types  []string
}

DomainInfo contains domain information from Surbl.org.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL