Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailAddress ¶
MailAddress type
type ProcessingType ¶
type ProcessingType string
ProcessingType type
const ( SYNCProcess ProcessingType = "SYNC" ASYNCProcess ProcessingType = "ASYNC" )
type SendEmailRequest ¶
type SendEmailRequest struct { TemplateCode string `json:"templateCode"` From *MailAddress `json:"from"` To *MailAddress `json:"to"` CC []*MailAddress `json:"cc"` BCC []*MailAddress `json:"bcc"` TemplateData map[string]interface{} `json:"templateData"` ProcessingType string `json:"processingType"` Template *domSchemaET.ETFindByCodeData `json:"-"` }
SendEmailRequest type
func (*SendEmailRequest) Validate ¶
func (r *SendEmailRequest) Validate() error
Validate SendEmailRequest
type SendEmailResponse ¶
type SendEmailResponse struct { TemplateCode string `json:"templateCode"` Status string `json:"status"` }
SendEmailResponse type
func (*SendEmailResponse) ToJSON ¶
func (r *SendEmailResponse) ToJSON() []byte
ToJSON covert to JSON
Click to show internal directories.
Click to hide internal directories.