Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WeComNotifier ¶
type WeComNotifier struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *WeComNotifierConfig) (*WeComNotifier, error)
func (*WeComNotifier) Notify ¶
func (n *WeComNotifier) Notify(ctx context.Context, subject string, message string) (res *notifier.NotifyResult, err error)
type WeComNotifierConfig ¶
type WeComNotifierConfig struct { // 企业微信机器人 Webhook 地址。 WebhookUrl string `json:"webhookUrl"` }
Click to show internal directories.
Click to hide internal directories.