Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SUBSCRIBED_SUBJECT = "emails.>"
Functions ¶
func NewEventLoggerService ¶
func NewEventLoggerService( natsConn *nats_internal.NATSConnections, repos *repository.Repositories, ) interfaces.EmailProcessor
Types ¶
type EventLoggerService ¶
type EventLoggerService struct {
// contains filtered or unexported fields
}
func (*EventLoggerService) Close ¶ added in v0.2.7
func (s *EventLoggerService) Close() error
Close gracefully shuts down the service
func (*EventLoggerService) NewEmailEventRecord ¶
func (s *EventLoggerService) NewEmailEventRecord(ctx context.Context) *models.EmailEvent
Click to show internal directories.
Click to hide internal directories.