Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrEmailNotFound ¶
func ErrTemplateNotFound ¶
Types ¶
type CompactTemplate ¶
type CreateNewEmailRequest ¶
type CreateNewEmailRequest struct { Context map[string]string `json:"context"` ReplyTo *models.EmailAddress `json:"reply_to"` When *models.DateTime `json:"when"` BCC []models.EmailAddress `json:"bcc"` From models.EmailAddress `json:"from"` To []models.EmailAddress `json:"to"` TemplateId int64 `json:"template_id,string"` }
type CreateTemplateRequest ¶
type Email ¶
type Email struct { bun.BaseModel `bun:"table:email,alias:em"` Created time.Time `bun:",notnull"` ExpectedSent time.Time `bun:"expected_sent,notnull"` ProcessedDate bun.NullTime `bun:",nullzero"` From string `bun:",notnull"` ReplyTo string `bun:"reply_to"` To string `bun:",notnull"` BCC string `bun:"bcc"` ContextRaw string `bun:"context,notnull"` TemplateId int64 `bun:",notnull"` DomainId int64 `bun:",notnull"` Id int64 `bun:",pk"` // contains filtered or unexported fields }
func (*Email) GetContext ¶
type EmailRepository ¶
Click to show internal directories.
Click to hide internal directories.