email_analysis

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SUBSCRIBED_SUBJECT = enum.EventEmailInboundAnalysis.String()

Functions

func NewEmailAnalysisService

func NewEmailAnalysisService(
	config *config.CustomerOSAPIConfig,
	natsConn *nats_internal.NATSConnections,
	repositories *repository.Repositories,
	eventLoggerService interfaces.EventLoggerService,
) interfaces.EmailProcessor

Types

type AskAIForEmailResponse

type AskAIForEmailResponse struct {
	EmailData dto.AnalyzeEmailResponse `json:"emailData"`
}

type EmailAnalysisService

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

func (*EmailAnalysisService) Close

func (s *EmailAnalysisService) Close() error

Close gracefully shuts down the service

func (*EmailAnalysisService) Start

func (s *EmailAnalysisService) Start(ctx context.Context) error

Start begins listening for events

Jump to

Keyboard shortcuts

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