Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Address ¶
type Address struct { Email *mail.Address Context AddressContext }
type AddressContext ¶
type AddressContext int
const ( AddressContextNone AddressContext = iota AddressContextFrom AddressContextTo AddressContextForwardedFrom AddressContextForwardedTo AddressContextMax )
func GetContext ¶
func GetContext(s string, forwarded bool) AddressContext
func (*AddressContext) Set ¶
func (c *AddressContext) Set(val string) error
func (AddressContext) String ¶
func (c AddressContext) String() string
Click to show internal directories.
Click to hide internal directories.