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