fsconv

package
v0.0.0-...-d05e76d Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteMessageToDirectory

func WriteMessageToDirectory(fs *afero.Afero, targetDir string, message Message) error

func WriteMessagesToDirectory

func WriteMessagesToDirectory(fs *afero.Afero, targetDir string, messages []Message) error

Types

type Message

type Message struct {
	To      string
	From    string
	Cc      []string
	Subject string
	Body    io.Reader
}

func DirectoryToMessages

func DirectoryToMessages(fs *afero.Afero, targetDir string) ([]Message, error)

Jump to

Keyboard shortcuts

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