Versions in this module Expand all Collapse all v0 v0.1.0 Feb 28, 2021 Changes in this version + var ErrInvalidAddressFormat = errors.New("address: invalid format") + var ErrPathTooLong = errors.New("address: path too long") + var ZeroAddress Address + func DomainToASCII(domain string) (string, error) + func DomainToUnicode(domain string) (string, error) + func NormalizeLocalPart(localPart string) string + type Address struct + func Parse(raw string) (Address, error) + func ParseNormalized(raw string) (Address, error) + func ParseUnicode(raw string) (Address, error) + func (a *Address) Scan(src interface{}) error + func (a Address) Domain() string + func (a Address) LocalPart() string + func (a Address) Normalized() Address + func (a Address) String() string + func (a Address) Value() (driver.Value, error) + type AddressEntity struct + DomainID int64 + ID int64 + LocalPart string + MailboxID int64 + type DeliveryStatus int + const StatusDelivered + const StatusFailed + const StatusInboxed + const StatusPending + type DomainEntity struct + ID int64 + Name string + type MailEntity struct + AttemptCount int + DeletedAt sql.NullInt64 + ID string + LastAttemptedAt sql.NullInt64 + ReceivedAt int64 + ReturnPath Address + Size int64 + type MailboxCredentialEntity struct + Hash string + MailboxID int64 + UpdatedAt int64 + type MailboxEntity struct + DisplayName string + ID int64 + type RecipientEntity struct + ForwardPath Address + ID int64 + MailID string + MailboxID sql.NullInt64 + Status DeliveryStatus