Versions in this module Expand all Collapse all v1 v1.0.1 Aug 15, 2024 Changes in this version + var DINGDINGBadURLErr = errors.New("bad DINGDING URL") + var DINGDINGSendErr = errors.New("send DINGDING fail") + func DingPrint(content string) string + func New(proxy string, messenger pb.NotifyServiceServer) subscriber.Subscriber + func PrettyPrint(content string, isWebhook bool) string + type DDAt struct + AtMobiles []string + IsAtAll bool + type DDContent struct + Content string + type DDDest [][]string + type DDMarkdown struct + Text string + Title string + type DDMessage struct + At DDAt + Markdown *DDMarkdown + Msgtype string + Text *DDContent + type DDSubscriber struct + func (d *DDSubscriber) DINGDINGSend(u string, m *DDMessage) error + func (d *DDSubscriber) Name() string + func (d *DDSubscriber) Publish(dest string, content string, time int64, msg *types.Message) []error + func (d *DDSubscriber) Status() interface{} + type LegacyDDDest []string