https://github.com/redsift/deacheck
List of domains, updatable at runtime, for checking domain against different sources like DEA (Disposable Email Address) or wildcard domain lists
https://github.com/redsift/deacheck
disposable-email disposable-emails go golang tools
Last synced: 8 months ago
JSON representation
List of domains, updatable at runtime, for checking domain against different sources like DEA (Disposable Email Address) or wildcard domain lists
- Host: GitHub
- URL: https://github.com/redsift/deacheck
- Owner: redsift
- License: mit
- Created: 2019-02-22T18:12:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-04T16:43:02.000Z (almost 7 years ago)
- Last Synced: 2024-12-29T07:33:03.401Z (over 1 year ago)
- Topics: disposable-email, disposable-emails, go, golang, tools
- Language: Go
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 20
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DEA Check [](https://goreportcard.com/report/github.com/redsift/dea-check) [](https://godoc.org/github.com/redsift/dea-check)
Using DEA (Disposable Email Address) is one of anti-spam techniques used to prevent unsolicited bulk email.
On other side, as a service provider solicitous about security and privacy of our customers, we would waste resources on using those emails in our operations.
That is why we need to include simple DEA check as one of sanitizing methods into registration process to our services.
## Sources
- A lists of DEA and wildcard domains from https://github.com/ivolo/disposable-email-domains
- [dea.json](https://raw.githubusercontent.com/ivolo/disposable-email-domains/master/index.json)
- [wildcard.json](https://raw.githubusercontent.com/ivolo/disposable-email-domains/master/wildcard.json)
## Benchmarks
```text
goos: darwin
goarch: amd64
pkg: github.com/redsift/deacheck
BenchmarkIndex_Update-4 50 32096713 ns/op 11520228 B/op 265259 allocs/op
BenchmarkIndex_HasDomain-4 10000000 192 ns/op 18 B/op 1 allocs/op
PASS
```