model

package
v0.0.0-...-a665a66 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 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 Inbox

type Inbox struct {
	Time     time.Time `json:"time"`
	ID       string    `json:"id"`
	From     string    `json:"from,omitempty"`
	Subject  string    `json:"subject,omitempty"`
	Filename string    `json:"filename,omitempty"`
	Payload  []byte    `json:"payload,omitempty"`
}

func NewInbox

func NewInbox() (*Inbox, error)

type Plugin

type Plugin interface {
	Process(*Inbox)
	Close()
}

Jump to

Keyboard shortcuts

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