processor

package
v0.0.0-...-cde1c88 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	Storage        storage.Storage
	ProcessReplies bool
}

func NewProcessor

func NewProcessor(storage storage.Storage, processReplies bool) *Processor

func NewProcessorFromConfig

func NewProcessorFromConfig(storage storage.Storage, config ProcessorConfig) *Processor

func (*Processor) ProcessEmail

func (p *Processor) ProcessEmail(r io.Reader) (string, error)

type ProcessorConfig

type ProcessorConfig struct {
	ProcessReplies bool `yaml:"process_replies"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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