Discover Packages
github.com/gugabfigueiredo/dream-mail-go
models
package
Version:
v0.0.0-...-d18ee5a
Opens a new window with list of versions in this module.
Published: Jul 24, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type App struct {
ID int `json:"id"`
Name string `json:"name"`
Providers []int `json:"providers"`
APIKey string `json:"api_key"`
}
type Attachment struct {
Name string `json:"name"`
Type string `json:"type"`
Data string `json:"data"`
}
type Email struct {
Name string `json:"name"`
Addr string `json:"addr"`
}
type Mail struct {
ID string `json:"id"`
From Email `json:"from"`
To []Email `json:"to"`
Subject string `json:"subject"`
Text string `json:"text"`
HTML string `json:"html"`
Attachments []Attachment `json:"attachments"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.