Documentation ¶ Index ¶ func Pipeline(ctx context.Context, logger logrus.FieldLogger, processors []Processor, ...) (*email.Message, error) type Processor Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Pipeline ¶ func Pipeline(ctx context.Context, logger logrus.FieldLogger, processors []Processor, msg *email.Message, metricsData *metrics.Metrics) (*email.Message, error) Types ¶ type Processor ¶ type Processor interface { Name() string Process(ctx context.Context, logger logrus.FieldLogger, msg *email.Message, metricsData *metrics.Metrics) (consumed bool, updated *email.Message, err error) } Source Files ¶ View all Source files pipeline.go processor.go Directories ¶ Show internal Expand all Path Synopsis antispam ldaheaders maildir rentablo sunnyportal Click to show internal directories. Click to hide internal directories.