Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DingTalkNotifier ¶
type DingTalkNotifier struct { AccessToken string `json:"access_token"` SecretToken string `json:"secret_token"` }
func (*DingTalkNotifier) BuildAppPubishedMessage ¶
func (d *DingTalkNotifier) BuildAppPubishedMessage(req shared.PublishRequest, result map[string]string) string
func (*DingTalkNotifier) Notify ¶
func (d *DingTalkNotifier) Notify(jsonStr string) error
type LarkNotifier ¶
type LarkNotifier struct { Key string `json:"key,omitempty"` SecretToken string `json:"secret_token"` }
func (*LarkNotifier) BuildAppPubishedMessage ¶
func (l *LarkNotifier) BuildAppPubishedMessage(req shared.PublishRequest, result map[string]string) string
func (*LarkNotifier) Notify ¶
func (l *LarkNotifier) Notify(partialJsonStr string) error
type WeComNotifier ¶
type WeComNotifier struct {
Key string
}
func (*WeComNotifier) BuildAppPubishedMessage ¶
func (w *WeComNotifier) BuildAppPubishedMessage(req shared.PublishRequest, result map[string]string) string
func (*WeComNotifier) Notify ¶
func (w *WeComNotifier) Notify(jsonStr string) error
Click to show internal directories.
Click to hide internal directories.