notification

package
v0.0.0-...-2a243e4 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ISender

type ISender interface {
	SendSummaryNotification(summary domain.Summary, recipients []string) error
}

ISender provides contracts related to send summary notifications

type SenderService

type SenderService struct {
	NotificationDeliveryService notification.Delivery
	SummaryTemplateGenerator    template.Generator
}

SenderService provides implements ISender with bridge between port.notification.Delivery and template.Generator

func (*SenderService) SendSummaryNotification

func (s *SenderService) SendSummaryNotification(summary domain.Summary, recipients []string) error

Jump to

Keyboard shortcuts

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