Documentation
¶
Index ¶
- type NotificationSender
- func (n *NotificationSender) NotifyNewQuant(uploaded bool, quantId string, quantName string, status string, ...)
- func (n *NotificationSender) NotifyNewScan(scanName string, scanId string)
- func (n *NotificationSender) NotifyNewScanImage(scanName string, scanId string, imageName string)
- func (n *NotificationSender) NotifyObjectShared(objectType string, objectId string, objectName, sharerName string)
- func (n *NotificationSender) NotifyUpdatedScan(scanName string, scanId string)
- func (n *NotificationSender) NotifyUserGroupMessage(subject string, message string, groupId string, groupName string, ...)
- func (n *NotificationSender) SysNotifyQuantChanged(quantId string)
- func (n *NotificationSender) SysNotifyScanChanged(scanId string)
- func (n *NotificationSender) SysNotifyScanImagesChanged(scanIds []string)
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 (*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 (*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)
Click to show internal directories.
Click to hide internal directories.