services

package
v0.2.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Services

type Services struct {
	CloudflareService          interfaces.CloudflareService
	EmailService               interfaces.EmailService
	EmailAnaylsisService       interfaces.EmailProcessor
	EmailAttachmentService     interfaces.EmailProcessor
	EmailClassificationService interfaces.EmailProcessor
	EmailContentService        interfaces.EmailProcessor
	EmailStorageService        interfaces.EmailProcessor
	EmailThreadingService      interfaces.EmailProcessor
	EventLoggerService         interfaces.EmailProcessor
	IMAPService                interfaces.IMAPService
	MailboxService             interfaces.MailboxService
	NamecheapService           interfaces.NamecheapService
	OpenSrsService             interfaces.OpenSrsService

	MailboxServiceOld interfaces.MailboxServiceOld
	DomainService     interfaces.DomainService
}

func InitServices

func InitServices(natsConn *nats_internal.NATSConnections, log logger.Logger, repos *repository.Repositories, cfg *config.Config) *Services

func (*Services) Start added in v0.2.7

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

Improved Start method with better error handling

func (*Services) Stop added in v0.2.7

func (s *Services) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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