handlers

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMAPHandler

type IMAPHandler struct {
	// contains filtered or unexported fields
}

IMAPHandler processes events from IMAP sources

func NewIMAPHandler

func NewIMAPHandler(
	repositories *repository.Repositories,
	eventService *events.EventsService,
	emailFilterService interfaces.EmailFilterService,
	aiService interfaces.AIService,
) *IMAPHandler

NewIMAPHandler creates a new IMAP email handler

func (*IMAPHandler) Handle

func (h *IMAPHandler) Handle(ctx context.Context, event interfaces.MailEvent)

Handle processes an IMAP email event

Jump to

Keyboard shortcuts

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