Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDNS ¶ added in v0.0.12
func GetDNS(email string) domaincheck.DNS
func GetEmailProviderFromMx ¶
func GetEmailProviderFromMx(dns domaincheck.DNS, knownProviders KnownProviders) (emailProvider, firewall string)
Types ¶
type AuthorizedSenders ¶
type AuthorizedSenders struct { Enterprise []string Hosting []string Security []string Webmail []string Other []string }
func GetAuthorizedSenders ¶
func GetAuthorizedSenders(dns domaincheck.DNS, knownProviders *KnownProviders) AuthorizedSenders
type KnownProviders ¶
type KnownProviders struct { Enterprise ProviderCategory `toml:"enterprise"` Hosting ProviderCategory `toml:"hosting"` Webmail ProviderCategory `toml:"webmail"` Security ProviderCategory `toml:"security"` }
func GetKnownProviders ¶
func GetKnownProviders() (*KnownProviders, error)
func (*KnownProviders) GetProviderByDomain ¶
func (kp *KnownProviders) GetProviderByDomain(domain string) (string, string)
Helper function to get provider by domain
type ProviderCategory ¶
Click to show internal directories.
Click to hide internal directories.