notification

package
v0.15.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

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

func NormalizeDeliveryChannel(channel string) (string, bool)

NormalizeDeliveryChannel canonicalizes a channel name and verifies support.

func NormalizeDeliveryChannels

func NormalizeDeliveryChannels(channels []string) (normalized []string, invalid []string)

NormalizeDeliveryChannels canonicalizes channels and returns unsupported values separately.

func NormalizeNotificationType

func NormalizeNotificationType(notificationType string) (string, bool)

NormalizeNotificationType canonicalizes a notification type and verifies support.

func WireNotificationType

func WireNotificationType(notificationType string) (string, bool)

WireNotificationType returns camelCase for a supported notification type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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