Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleTelegramWebhook ¶
func HandleTelegramWebhook(logger log.Logger, counter prometheus.Counter, webhooks chan<- TelegramWebhook) http.HandlerFunc
HandleTelegramWebhook returns a HandlerFunc that forwards webhooks to all bots via a channel.
func SilenceMessage ¶
SilenceMessage converts a silences to a message string.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ListAlerts ¶
func (*Client) ListSilences ¶
type TelegramWebhook ¶
Click to show internal directories.
Click to hide internal directories.