Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AlertData ¶
type AlertData struct { Title string Content ContentType Data param.Store }
func NewData ¶
func NewData(title string, ct ContentType) *AlertData
type ContentType ¶
type ContentType interface { EmailContent(params param.Store) []byte MarkdownContent(params param.Store) []byte }
ContentType 消息内容类型
type WebhookCustom ¶
func NewWebhookCustom ¶
func NewWebhookCustom() *WebhookCustom
func (*WebhookCustom) Descriptions ¶
func (w *WebhookCustom) Descriptions() []string
func (*WebhookCustom) ToWebhook ¶
func (w *WebhookCustom) ToWebhook() *webhook.Webhook
Click to show internal directories.
Click to hide internal directories.