Documentation ¶
Index ¶
Constants ¶
View Source
const ( FeishuUserMethod = "feishu_user" FeishuAutomationMethod = "feishu_automation" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeishuAutomationNotify ¶
type FeishuAutomationNotify struct { Nc notify.Notifier[*larkim.CreateMessageReq] // contains filtered or unexported fields }
func NewFeishuAutomationNotify ¶
func NewFeishuAutomationNotify(lark *lark.Client) (*FeishuAutomationNotify, error)
func (*FeishuAutomationNotify) Builder ¶
func (n *FeishuAutomationNotify) Builder(title string, users []user.User, params NotifyParams) []notify.NotifierWrap
type FeishuUserNotify ¶
type FeishuUserNotify struct { Nc notify.Notifier[*larkim.CreateMessageReq] // contains filtered or unexported fields }
func NewFeishuUserNotify ¶
func NewFeishuUserNotify(lark *lark.Client) (*FeishuUserNotify, error)
func (*FeishuUserNotify) Builder ¶
func (n *FeishuUserNotify) Builder(title string, users []user.User, params NotifyParams) []notify.NotifierWrap
type NotifierIntegration ¶
type NotifierIntegration interface {
Builder(title string, users []user.User, params NotifyParams) []notify.NotifierWrap
}
type NotifyIntegration ¶
type NotifyIntegration struct { Notifier NotifierIntegration Name string }
func BuildReceiverIntegrations ¶
func BuildReceiverIntegrations(larkC *lark.Client) ([]NotifyIntegration, error)
BuildReceiverIntegrations 整合消息通知渠道
func NewNotifyIntegration ¶
func NewNotifyIntegration(n NotifierIntegration, name string) NotifyIntegration
Click to show internal directories.
Click to hide internal directories.