rest

package
v0.0.0-...-0751618 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Address

type Address struct {
	Name    string `json:"name"`
	Address string `json:"address"`
}

type EmailService

type EmailService struct {
	// contains filtered or unexported fields
}

func NewEmailService

func NewEmailService(queueBox *queue.QueueBox) *EmailService

func (*EmailService) ReceiveList

func (e *EmailService) ReceiveList(key string) ([]IncomingMessage, error)

type IncomingMessage

type IncomingMessage struct {
	ID      string           `json:"ID"`
	Address Address          `json:"address"`
	Subject string           `json:"subject"`
	Date    string           `json:"date"`
	Content []*email.Content `json:"content"`
	File    []*email.File    `json:"file"`
}

Jump to

Keyboard shortcuts

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