1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-06-08 23:46:21 +02:00
mailpit/server/apiv1/structs.go

18 lines
384 B
Go
Raw Permalink Normal View History

package apiv1
import (
"github.com/axllent/mailpit/internal/storage"
)
// The following structs & aliases are provided for easy import
// and understanding of the JSON structure.
// MessageSummary - summary of a single message
type MessageSummary = storage.MessageSummary
// Message data
type Message = storage.Message
// Attachment summary
type Attachment = storage.Attachment