interfaces

package
v0.0.0-...-520ee0d Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EmailFetcher

type EmailFetcher interface {
	FetchNewEmails(ctx context.Context) ([]pkg.Email, error)
}

type LLMParser

type LLMParser interface {
	Parse(ctx context.Context, email pkg.Email, rules []pkg.Rule) (ParseResult, error)
}

type ParseResult

type ParseResult struct {
	Email   pkg.Email
	Matches []pkg.RuleMatch
	Error   error
}

type Scheduler

type Scheduler interface {
	Start(ctx context.Context, tick func() error) error
	Stop(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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