Versions in this module Expand all Collapse all v0 v0.1.37 Sep 15, 2026 Changes in this version + func IsSlackBlocksJSON(message string) bool + func PropertiesForChannel(channel string, properties map[string]string) map[string]string + func SendSlack(ctx context.Context, apiToken, channel string, message Message) error + func SendWebhook(ctx context.Context, conn *models.Connection, message Message) error + type ErrAttachmentsUnsupported struct + Channel string + func (e ErrAttachmentsUnsupported) Error() string + type Message struct + Attachments []mail.Attachment + Body string + Properties map[string]string + Title string + type Result struct + Attached bool + Channel string + Connection string + type Sender struct + SystemSMTP string + func NewSender() *Sender + func (s *Sender) Send(ctx dbcontext.Context, connectionName string, message Message) (Result, error)