Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LarkNotifier ¶
type LarkNotifier struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *LarkNotifierConfig) (*LarkNotifier, error)
func (*LarkNotifier) Notify ¶
func (n *LarkNotifier) Notify(ctx context.Context, subject string, message string) (res *notifier.NotifyResult, err error)
type LarkNotifierConfig ¶
type LarkNotifierConfig struct {
WebhookUrl string `json:"webhookUrl"`
}
Click to show internal directories.
Click to hide internal directories.