Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Message ¶
func Base64Message(msg EmailMessage) string
func GetGmailService ¶
func SetMIMEandNameifEmpty ¶
func SetMIMEandNameifEmpty(msg *EmailMessage)
Types ¶
type EmailMessage ¶
type EmailMessage struct {
From string `json:"from,omitempty" bson:"from,omitempty"`
To string `json:"to,omitempty" bson:"to,omitempty"`
Subject string `json:"subject,omitempty" bson:"subject,omitempty"`
Body string `json:"body,omitempty" bson:"body,omitempty"`
Attachments []FileAttachment `json:"attachments,omitempty" bson:"attachments,omitempty"`
}
type FileAttachment ¶
type Queue ¶
type Queue struct {
ID primitive.ObjectID `json:"id,omitempty" bson:"_id,omitempty"`
Session string `json:"session,omitempty" bson:"session,omitempty"`
Function string `json:"function,omitempty" bson:"function,omitempty"`
Scope []string `json:"scope,omitempty" bson:"scope,omitempty"`
Base64 string `json:"base64,omitempty" bson:"base64,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.