Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendNotification ¶
func SendNotification(notification *models.DingTalkNotification, httpClient *http.Client, target *config.Target) (*models.DingTalkNotificationResponse, error)
Types ¶
type DingNotificationBuilder ¶ added in v1.4.0
type DingNotificationBuilder struct {
// contains filtered or unexported fields
}
func NewDingNotificationBuilder ¶ added in v1.4.0
func (*DingNotificationBuilder) Build ¶ added in v1.4.0
func (r *DingNotificationBuilder) Build(m *models.WebhookMessage) (*models.DingTalkNotification, error)
Click to show internal directories.
Click to hide internal directories.