Documentation ¶
Index ¶
- Constants
- func HandlerNoticeMessage(pgx *db.PGClient) func(*fiber.Ctx) error
- func ProviderEmail(c *fiber.Ctx, notice db.PGRow) (string, string, error)
- func ProviderTelegram(c *fiber.Ctx, req *RequestNotice, notice db.PGRow) (string, string, error)
- type EmailProvider
- type EmailRoom
- type RequestNotice
- type TelegramProvider
- type TelegramRequest
- type TelegramResponse
- type TelegramRoom
Constants ¶
View Source
const ( TELEGRAM = "telegram" SLACK = "slack" MSTEAM = "msteam" LINE = "line" LINENOTIFY = "line-notify" EMAIL = "email" WEBHOOK = "webhook" NATIVE = "native" )
Variables ¶
This section is empty.
Functions ¶
func HandlerNoticeMessage ¶
func ProviderTelegram ¶
Types ¶
type EmailProvider ¶
type RequestNotice ¶
type TelegramProvider ¶
type TelegramProvider struct {
Token string `json:"token"`
}
type TelegramRequest ¶
type TelegramResponse ¶
type TelegramRoom ¶
Click to show internal directories.
Click to hide internal directories.