Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actor ¶
type Actor struct {
DisplayName string
}
Actor holds information about who or what initiated a transaction.
type Mail ¶
type Mail struct { Headers textproto.MIMEHeader From string To []string Data *MailContext RoutingKey string `json:"-"` }
Mail defines the payload of the message sent to the postal-worker.
type MailContext ¶
type MailContext struct { Subject string Recipient *Recipient Actor *Actor Action *Action Object *Object OperationLogs *OperationLogs }
MailContext holds all values needed in the email templates.
type OperationLogs ¶
type OperationLogs struct {
Text string
}
Click to show internal directories.
Click to hide internal directories.