model

package
v0.0.0-...-19e15d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attachment

type Attachment struct {
	Name        string
	ContentType string
	Data        []byte
}

type Email

type Email struct {
	ID          int `storm:"id,increment"`
	HTML        string
	Text        string
	Headers     map[string][]string
	From        []*mail.Address
	To          []*mail.Address
	Cc          []*mail.Address
	Cci         []*mail.Address
	Subject     string
	SentAt      time.Time
	Attachments []*Attachment
	Seen        bool `storm:"index"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL