api

package
v0.0.0-...-72e8f9a Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 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 Analyzer

type Analyzer interface {
	IsInternshipRequest(context.Context, entity.Message) (bool, error)
}

type Mail

type Mail interface {
	GetUnreadMsgs(ctx context.Context) <-chan entity.MessageWithError
	LabelMsg(context.Context, entity.MessageForLabeler) error
	CreateLabel(context.Context, string) (*entity.Label, error)
}

type Sender

type Sender interface {
	Send(context.Context, entity.SummaryMessage) error
}

type Summarizer

type Summarizer interface {
	GetMsgSummary(context.Context, entity.Message) (string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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