Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CTAContent ¶
type CTAContent struct {
*PublicOptions
Message Message
SecondaryMessage Message
Title string
HelpLinks []HelpLink
CTAIntro string
CTAText string
CTAURL *sharedTypes.URL
*gmailGoToAction.GmailGoToAction
}
func (*CTAContent) PlainText ¶
func (c *CTAContent) PlainText() string
func (*CTAContent) Template ¶
func (c *CTAContent) Template() *template.Template
func (*CTAContent) Validate ¶
func (c *CTAContent) Validate() error
type Email ¶
type HelpLink ¶
type HelpLink struct {
Before string
URL *sharedTypes.URL
Label string
After string
}
type Identity ¶
type Identity struct {
Address sharedTypes.Email `json:"address"`
DisplayName string `json:"display_name"`
}
type NoCTAContent ¶
type NoCTAContent struct {
*PublicOptions
Message Message
Title string
HelpLinks []HelpLink
}
func (*NoCTAContent) PlainText ¶
func (c *NoCTAContent) PlainText() string
func (*NoCTAContent) Template ¶
func (c *NoCTAContent) Template() *template.Template
func (*NoCTAContent) Validate ¶
func (c *NoCTAContent) Validate() error
type PublicOptions ¶
type SMTPAddress ¶
type SMTPAddress string
func (SMTPAddress) Host ¶
func (a SMTPAddress) Host() string
func (SMTPAddress) IsSpecial ¶
func (a SMTPAddress) IsSpecial() bool
func (SMTPAddress) Validate ¶
func (a SMTPAddress) Validate() error
type SendOptions ¶
Click to show internal directories.
Click to hide internal directories.