Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NotificationSender ¶
type NotificationSender interface {
Codebase(ctx context.Context, codebaseID string, notificationType notification.NotificationType, referenceID, senderUserID string) error
User(ctx context.Context, userID, codebaseID string, notificationType notification.NotificationType, referenceID string) error
}
func NewNoopNotificationSender ¶
func NewNoopNotificationSender() NotificationSender
func NewNotificationSender ¶
func NewNotificationSender( logger *zap.Logger, codebaseUserRepo db_codebase.CodebaseUserRepository, notificationRepo db_notification.Repository, userRepo db_user.Repository, eventsSender events.EventSender, emailSender transactional.EmailSender, ) NotificationSender
Click to show internal directories.
Click to hide internal directories.