Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageSender ¶
type NotificationRepository ¶
type NotificationRepository interface { GetAll() ([]models.Notification, error) Delete(id int) error }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewNotificationService ¶
func NewNotificationService(repo NotificationRepository, sender MessageSender) *Service
func (*Service) SendQueuedNotifications ¶
func (s *Service) SendQueuedNotifications()
Click to show internal directories.
Click to hide internal directories.