Versions in this module Expand all Collapse all v0 v0.3.0 Sep 27, 2022 Changes in this version + type TelegramClient struct + func NewTelegramClientFromEnv() (*TelegramClient, error) + func (client *TelegramClient) Send(note *CrashNotification) + type TelegramConfig struct + ChatID int64 + Token string v0.2.1 Sep 27, 2022 Changes in this version + type Client interface + Send func(*CrashNotification) + func NewClientFromEnv() (Client, error) + type ClientConfig struct + Type string + type CrashNotification struct + Logs string + Message string + Reason string + Title string + type MattermostClient struct + func NewMattermostClientFromEnv() (*MattermostClient, error) + func (client *MattermostClient) Send(note *CrashNotification) + type MattermostConfig struct + Channel string + Team string + Token string + URL string + type SlackClient struct + Channel string + Client *slack.Client + func NewSlackClientFromEnv() (*SlackClient, error) + func (client *SlackClient) Send(note *CrashNotification) + type SlackConfig struct + Channel string + Token string