Documentation ¶
Overview ¶
Package lark is the lark notification package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotifyConfig ¶
type NotifyConfig struct { base.DefaultNotify `yaml:",inline"` WebhookURL string `yaml:"webhook" json:"webhook" jsonschema:"required,format=uri,title=Webhook URL,description=The Lark Robot Webhook URL"` }
NotifyConfig is the slack notification configuration
func (*NotifyConfig) Config ¶
func (c *NotifyConfig) Config(gConf global.NotifySettings) error
Config configures the slack notification
func (*NotifyConfig) SendLark ¶
func (c *NotifyConfig) SendLark(title, msg string) error
SendLark is the wrapper for SendLarkNotification
func (*NotifyConfig) SendLarkNotification ¶
func (c *NotifyConfig) SendLarkNotification(msg string) error
SendLarkNotification will post to an 'Robot Webhook' url in Lark Apps. It accepts some text and the Lark robot will send it in group.
Click to show internal directories.
Click to hide internal directories.