Documentation
¶
Index ¶
Constants ¶
View Source
const ( NotificationTypeEvidenceDigest = "evidence_digest" NotificationTypeTaskAvailable = "task_available" NotificationTypeTaskDailyDigest = "task_daily_digest" NotificationTypeEvidenceDigestWire = "evidenceDigest" NotificationTypeTaskAvailableWire = "taskAvailable" NotificationTypeTaskDailyDigestWire = "taskDailyDigest" DeliveryChannelEmail = "email" DeliveryChannelSlack = "slack" )
Variables ¶
This section is empty.
Functions ¶
func NormalizeDeliveryChannel ¶
NormalizeDeliveryChannel canonicalizes a channel name and verifies support.
func NormalizeDeliveryChannels ¶
NormalizeDeliveryChannels canonicalizes channels and returns unsupported values separately.
func NormalizeNotificationType ¶
NormalizeNotificationType canonicalizes a notification type and verifies support.
func WireNotificationType ¶
WireNotificationType returns camelCase for a supported notification type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.