imap_filter

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGroup

func NewGroup(_, instName string, _, _ []string) (module.Module, error)

Types

type Group

type Group struct {
	Filters []module.IMAPFilter
	// contains filtered or unexported fields
}

Group wraps multiple modifiers and runs them serially.

It is also registered as a module under 'modifiers' name and acts as a module group.

func (*Group) IMAPFilter

func (g *Group) IMAPFilter(accountName string, meta *module.MsgMetadata, hdr textproto.Header, body buffer.Buffer) (folder string, flags []string, err error)

func (*Group) Init

func (g *Group) Init(cfg *config.Map) error

func (*Group) InstanceName

func (g *Group) InstanceName() string

func (*Group) Name

func (g *Group) Name() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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