Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDomainOrFallback ¶
Detmine the domain of an email sender or fallback. While technically an address could have multiple '@' signs, we will fallback if there isn't exactly one!
func GetMXDomains ¶
Lookup MX records for `domain`, sorted by preference
Types ¶
type ZapLogWrapper ¶
type ZapLogWrapper struct{}
Used to pipe normal log.Logger output into the zap logger
Click to show internal directories.
Click to hide internal directories.