diff --git a/pkg/services/smtp/smtp_encmethod.go b/pkg/services/smtp/smtp_encmethod.go index 163d7559..95f88eff 100644 --- a/pkg/services/smtp/smtp_encmethod.go +++ b/pkg/services/smtp/smtp_encmethod.go @@ -52,4 +52,5 @@ func useImplicitTLS(encryption encMethod, port uint16) bool { } } +// ImplicitTLSPort is de facto standard SMTPS port const ImplicitTLSPort = 465 diff --git a/pkg/services/telegram/telegram_json.go b/pkg/services/telegram/telegram_json.go index 26fa1420..c8b18139 100644 --- a/pkg/services/telegram/telegram_json.go +++ b/pkg/services/telegram/telegram_json.go @@ -1,6 +1,6 @@ package telegram -// JSON to be used as a notification payload for the telegram notification service +// SendMessagePayload is the notification payload for the telegram notification service type SendMessagePayload struct { Text string `json:"text"` ID string `json:"chat_id"`