notificationSender

package
v4.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationSender

type NotificationSender struct {
	// contains filtered or unexported fields
}

func MakeNotificationSender

func MakeNotificationSender(instanceId string, db *mongo.Database, timestamper timestamper.ITimeStamper, log logger.ILogger, envRootURL string, ws *ws.WSHandler) *NotificationSender

func (*NotificationSender) NotifyNewQuant

func (n *NotificationSender) NotifyNewQuant(uploaded bool, quantId string, quantName string, status string, scanName string, scanId string)

func (*NotificationSender) NotifyNewScan

func (n *NotificationSender) NotifyNewScan(scanName string, scanId string)

func (*NotificationSender) NotifyNewScanImage

func (n *NotificationSender) NotifyNewScanImage(scanName string, scanId string, imageName string)

func (*NotificationSender) NotifyObjectShared

func (n *NotificationSender) NotifyObjectShared(objectType string, objectId string, objectName, sharerName string)

func (*NotificationSender) NotifyUpdatedScan

func (n *NotificationSender) NotifyUpdatedScan(scanName string, scanId string)

func (*NotificationSender) NotifyUserGroupMessage

func (n *NotificationSender) NotifyUserGroupMessage(subject string, message string, groupId string, groupName string, sender string)

func (*NotificationSender) SysNotifyQuantChanged

func (n *NotificationSender) SysNotifyQuantChanged(quantId string)

func (*NotificationSender) SysNotifyScanChanged

func (n *NotificationSender) SysNotifyScanChanged(scanId string)

func (*NotificationSender) SysNotifyScanImagesChanged

func (n *NotificationSender) SysNotifyScanImagesChanged(scanIds []string)

Jump to

Keyboard shortcuts

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