Files
osmedeus/libs/noti.go
T
2023-09-07 21:21:14 +07:00

27 lines
704 B
Go

package libs
// Notification struct define notification method
type Notification struct {
ClientName string
// SlacksWebHooks list
SlacksWebHooks map[string]string
// TelegramWebHooks list
TelegramWebHooks map[string]string
// Telegram part
TelegramToken string
TelegramChannel string
TelegramStatusChannel string
TelegramReportChannel string
TelegramDirbChannel string
TelegramSensitiveChannel string
TelegramMicsChannel string
// use this when we want to send a file to channel
SlackWebHook string
SlackToken string
SlackReportChannel string
SlackStatusChannel string
SlackDiffChannel string
// later then
DiscordToken string
}