Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMalformedMessageError ¶
Types ¶
type Configuration ¶
type Configuration struct { Address string User string Password string IgnoreMailboxes []string `yaml:"ignore_mailboxes"` StoragePath string `yaml:"storage_path"` Timeout string TimeoutDuration time.Duration }
func (*Configuration) AssignDefaults ¶
func (c *Configuration) AssignDefaults() error
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
func NewDownloader ¶
func NewDownloader(configuration *Configuration) *Downloader
func (*Downloader) Download ¶
func (d *Downloader) Download() error
type FileStorage ¶
type FileStorage struct {
BasePath string
}
func NewFileStorage ¶
func NewFileStorage(basePath string) *FileStorage
func (*FileStorage) Remove ¶
func (s *FileStorage) Remove(messageId string) error
func (*FileStorage) Save ¶
func (s *FileStorage) Save(message *Message) error
type Message ¶
func NewMessageFromIMAP ¶
type Printer ¶
type Printer struct {
// contains filtered or unexported fields
}
func NewPrinter ¶
func NewPrinter(configuration *Configuration) *Printer
type Remover ¶
type Remover struct {
// contains filtered or unexported fields
}
func NewRemover ¶
func NewRemover(configuration *Configuration) *Remover
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
func NewReporter ¶
func NewReporter(configuration *Configuration) *Reporter
type Searcher ¶
type Searcher struct {
// contains filtered or unexported fields
}
func NewSearcher ¶
func NewSearcher(configuration *Configuration) *Searcher
Click to show internal directories.
Click to hide internal directories.